Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Releases: use-ink/useink

[email protected]

06 Sep 19:05
Compare
Choose a tag to compare

fix WalletAccount type visibility

[email protected]

05 Sep 23:04
4350cf1
Compare
Choose a tag to compare
  • Add useMessageSigner to sign arbitrary messages with your browser wallet
  • Add useSignatureVerifier to verify signed messages
  • Add length param to useSalter for variable length hashes
  • Update dependencies

[email protected]

11 Jul 16:11
f93af9a
Compare
Choose a tag to compare

Fix useDeployer deploy contract feature. It now accepts more than one constructor argument.

[email protected]

07 Jul 18:31
Compare
Choose a tag to compare

Fix bug in useDeployer, which incorrectly passed in the encoded constructor params.

[email protected]

06 Jul 15:41
b91be5a
Compare
Choose a tag to compare

Allow decimal count to be passed in for planckToDecimal and planckToDecimalFormatted

v1.10.3

30 Jun 19:11
Compare
Choose a tag to compare

useCall now uses the connected wallet address as the caller

[email protected]

29 Jun 21:56
Compare
Choose a tag to compare

Add wasDeployed boolean field to useDeployer hook

[email protected]

29 Jun 17:35
14741ed
Compare
Choose a tag to compare

Fix useDeployer export to prevent ambiguous name.

[email protected]

27 Jun 16:29
93f3c83
Compare
Choose a tag to compare

Deploy contracts with new hooks!

  • Add useMetadata hook. This will validate contract files, metadata, and Wasm blobs.
  • Add useDeployer hook. This will provide an API and state management for deploying contracts from Wasm or Code Hash.
  • Add useSalter hook. This generates random hex salt values with a fixed length and validates them. It contains error messages if any exist.
  • Add useCodeHash hook. This validates code hash values required for deploying contracts from hash.
  • Add ContractInstantiated and ExtrinsicFailedEvent util functions for decoding events that get emitted. This is the start of an experimental feature that will make handling events in the UI much easier. The API may change slightly over the coming weeks, but we encourage you to use them.
  • Misc helper functions added...

[email protected]

26 Jun 20:20
5aa9d56
Compare
Choose a tag to compare

Remove crypto package dependency