Releases: ecadlabs/taquito
4.0.0-beta.3: One bug fix, and improvements
chore(examples): Add example for smart contract interaction
feat(michelson-encoder): Better support for various tokens …
refactor(tezos-ts): Add constant for default fee, gas and storage limit
fix(tezos-ts): Mutez conversion was flipped in transfer function …
Merge pull request #61 from ecadlabs/add-constants-for-default-gas-fee …
Merge pull request #63 from ecadlabs/michelson-encoder-tokens-improve… …
Merge pull request #62 from ecadlabs/fix-flipped-mutez-conversion …
Smart Contract Abstractions!
New features
New smart contract methods abstraction. Allows developers to load a smart contract's parameters, and get a contract object with methods that correspond to the smart contract params.
const contract = await Tezos.contract.at('KT1SawqvsVdAbDzqc4KwPpaS1S1veuFgF9AN');
console.log(Object.keys(contract.methods));
// { transfer: [Function: method],
// approve: [Function: method],
// getAllowance: [Function: method],
// getBalance: [Function: method],
// getTotalSupply: [Function: method],
// setPause: [Function: method],
// setAdministrator: [Function: method],
// getAdministrator: [Function: method],
// mint: [Function: method],
// burn: [Function: method] }
const op = await contract.methods.mint("tz1QZ6KY7d3BuZDT1d19dUxoQrtFPN2QJ3hn", 100).send({ gasLimit: 200000 })
await op.confirmation();
See the example/ directory for an example.
New signer package that provides a signer API
TezBridge supported is implemented for signing operations.
Note that accounts must be revealed to originate or call smart contracts. Because TezBridge does not allow direct exposure of the public key.
Other changes
Add contract origination example
Add get manager key support to rpc package.
Error response now allows access to the raw request body
michelson-encoder now supports "parameter" encoding in addition to decoding.
First Beta release!
- Sign operations (signer interface with an in-mem implementation)
- Inject (originate) smart-contracts
- Transfer operation (tx's and invoke smartcontracts)
- Set delegate operation
Plus increased unit test coverage, doc improvements
4.0.0-alpha.3: First release of the tezos-ts suite of packages.
- Balance retrieval from RPC at head or specified height
- React Balance widget
- Block stream for "realtime" updates of balance
- Balance history over time
- Balance history over time react widget
- RPC endpoint methods
4.0.0-alpha.2: First release of the tezos-ts suite of packages.
- Balance retrieval from RPC at head or specified height
- React Balance widget
- Block stream for "realtime" updates of balance
- Balance history over time
- Balance history over time react widget
- RPC endpoint methods