This repository has been archived by the owner on Feb 9, 2024. It is now read-only.
Releases: use-ink/useink
Releases · use-ink/useink
[email protected]
fix WalletAccount type visibility
[email protected]
- 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]
Fix useDeployer
deploy contract feature. It now accepts more than one constructor argument.
[email protected]
Fix bug in useDeployer
, which incorrectly passed in the encoded constructor params.
[email protected]
Allow decimal count to be passed in for planckToDecimal
and planckToDecimalFormatted
v1.10.3
useCall
now uses the connected wallet address as the caller
[email protected]
Add wasDeployed
boolean field to useDeployer
hook
[email protected]
Fix useDeployer
export to prevent ambiguous name.
[email protected]
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
andExtrinsicFailedEvent
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]
Remove crypto
package dependency