Keyring & Signer
Keyring
Currently Dedot do not have any official package for creating & managing keys, we recommend using @polkadot/keyring
package for this purpose.
Please refer to the official documentation of @polkadot/keyring
for more details on how to install, create & manage keys.
Please note that @polkadot/keyring
is currently using bn.js
and wasm
blob for some cryptographic implementations, this might increase the overall bundle-size of dapps.
Signer
Dedot APIs are designed to be compatible with IKeyringPair
and Signer
interfaces, so you can sign the transactions with accounts/keys created by a Keyring
from @polkadot/keyring
or signers exposed from any Polkadot{.js}-extensions-based wallets (SubWallet, Talisman, ...).
Signing transactions using IKeyringPair
IKeyringPair
Signing transactions using Signer
Signer
Last updated