-
ca1c28b
Thanks @wottpal! - Add option to passsupportedWallets
to the provider to only allow a subset ofallSubstrateWallets
or pass custom wallets. -
4a1ec00
Thanks @wottpal! - Prevent NightlyConnect to pop up on init when no other wallet is available
3dda3e1
Thanks @wottpal! - Revert to previous (silently failing) behavior when loading deployment metadata, due to it's async nature.
-
#59
7865a62
Thanks @peetzweg! - throws Error when trying to access unavailable contract deployment -
#60
2e23a13
Thanks @peetzweg! - marksrococo
chains data as deprecated and should be replaced withcontracts
, asrococo
is the testnet relay chain not the smart contracts chain users interact with
- #57
7d356d7
Thanks @wottpal! - Add support for type-safe contract-interactions viatypechain-polkadot
. A new hookuseRegisteredTypedContract
enables easy instantiation with automatic assignment of api instance, network-dependant contract address, and the connected signer. Currently, only queries (read-only) are supported with those instances. – See README.md for more information.
decead0
Thanks @wottpal! - Add & export explicit return type definition fordeployContract
(DeployedContract
).
2e5bc70
Thanks @wottpal! - Enable sub-path package imports (e.g. via@scio-labs/use-inkathon/helpers
) for better ssr compatability.
0a0565f
Thanks @wottpal! - Wait for crypto APIs to be ready to prevent polkadot.js initialization issues.
-
#47
64f6e51
Thanks @ical10! - Improve PSP22 balance helpers to only fetch tokens applicable for the active chain. -
#47
35d0f00
Thanks @ical10! - - usePSP22Balances checks iforiginChain
matchesactiveChain
before fetching PSP22 tokens balance.- Improve formats and add INW testnet contract address on
PSP22_ASSETS.json
.
- Improve formats and add INW testnet contract address on
77a1904
Thanks @wottpal! - Fix Next.js module import error by makingnightlylabs/wallet-selector-polkadot
a normal peer dependency (non-option) for now. Let's re-evaluate this in the future.
-
020aeb1
Thanks @wottpal! - Add support for NightlyConnect on Aleph Zero. This is a WalletConnect-like connection dialog for using the Nightly Wallet mobile app or browser extension. IMPORTANT: To use it, install the optional peer-dependency@nightlylabs/wallet-selector-polkadot
. -
81da31b
Thanks @wottpal! - BREAKING:enableWallet
is now async and needs to be awaited. If you were only using the providedconnect
function, nothing changes for you.
-
73b3f53
Thanks @wottpal! - Refactor React (TS) example components and add dialog component to transfer native tokens that showcasestransferBalance
. -
8fdb64f
Thanks @wottpal! - Improve transfer & contract tx utils (i.e.transferBalance
,transferFullBalance
,contractTx
) with better error decoding and minimum balance checks upfront.
- #36
a8e633d
Thanks @ical10! - Added native support for more !ink compatible testnets (t0rn, Bit.Country, Peaq, Pendulum, Phala) and mainnets (Khala, Phala, Amplitude, Pendulum)