New API for Apps to interact with Wallets, and a new Michelson codec package
Changes
Wallet API
A new API for making requests to Wallets.
The new Taquito Wallet API is designed to interact with wallets, and it supports Beacon, the TZIP-10 standard. Read more about this API here: https://medium.com/@jevonearth/the-start-of-a-better-dapp-wallet-story-for-tezos-7538a399724e
New Michelson parser / codec with validation and macro expansion
We have published a brand new package that allows you to encode and decode between "plain" Michelson and Michelson in JSON representation. This is a standalone implementation with no external dependencies. It offers Michelson Macro expansion and Michelson validation using TypeScript Types.
This makes originating Smart Contracts in plain Michelson easy, previously you had to do tezos-client command-line gymnastic to convert & expand plain Michelson to JSON Michelson.
You can now write pass the initial storage of your contract using plain Michelson.
Reading and displaying Michelson code and storage from on-chain contracts is now super simple. You can even configure formatting options for pretty printing.
This package replaces thesexp2mic
and ml2mic
methods, which have now been removed from the Taquito codebase.
Documentation
We are working hard on improving documentation. We have published docs for Estimation and Validation on our website, and we have improved the TypeDoc API documentation for these features also. Documentation for InMemorySigner has been improved with more examples.
Remote Signer signature validation
The Remote Signer implementation now validates that signatures match against the public key. Test coverage for the Remote Signer has been increased.
Integration Tests
Integration tests have been sped up significantly by using a special key API that issues throw away secret keys. This allows integration tests to run in parallel, as each account has its own counter. When running tests with a faucet key, the tests must run synchronously, waiting for a new block for each test. We will release the aforementioned key API sometime in the future.
Others
- Update deps. Taquito now builds using Typescript 3.9.5
- The
hexNonce
function has been removed fromtaquito-utils
. This function was not in use, and of little value. - getBigMapKey has been deprecated in the Tezos RPC in favour of getBigMapKeyByID.
- Fixed a bug where explicit limits were ignored by the estimator
- Website live code examples have the key boilerplate hidden, allowing the reader to focus more on the code.