How can i get my account address with concordium-web-sdk, knowing my wallet seed, identity provider, credential number and identity index?
You can use ConcordiumHdWallet | Concordium JS-SDK to get the credential ID.
You can look up an account just via that, but if you want an account address you can just compute SHA2-256 hash of the credential ID to get it.
What is the “onChainCommitmentKey” parameter and what do i have to put in it?
You can put in the CryptographicParameters
, e.g., you can use the get_cryptographic_parameters
rpc query to get this value.
Thanks for the helping, I managed to get it working
1 Like