Skip to content

ConseilJS 0.3.4-beta

Compare
Choose a tag to compare
@anonymoussprocket anonymoussprocket released this 28 Nov 04:45
· 569 commits to master since this release
fe31abd

0.3.4-beta

Fixes

  • basic big_map query support.
  • nodejs 10.17.x is now the minimum requirement.
  • all dependencies are now referenced with explicit versions.

Sample Code

//babylonnet contract KT1DT9YwHdSbZuVuZDjd1SMUcfXm57R5bE9v
const key = TezosMessageUtils.encodeBigMapKey(Buffer.from(TezosMessageUtils.writePackedData('tz1bwsEWCwSEXdRvnJxvegQZKeX5dj6oKEys', 'address'), 'hex'))
const result = await TezosNodeReader.getValueForBigMapKey(tezosServer, 22, key);

Known issues

  • Michelson lambda parameter encoding is not yet supported
  • Michelson DIG, DUG, EMPTY_BIG_MAP, APPLY, CHAIN_ID operations are not supported

Future Breaking Changes

  • KeyStore now contains derivationPath, in a subsequent release, functions that accept a KeyStore parameter and a derivationPath parameter will be modified to take only the former.