Build Wallet
As a builder, you want to build your own multi-chains compliant wallet on multiple chains.
Requirements
- Arianee Access Token or Wallet Connect.
Claim NFT
Method
To claim a digital passport in your wallet, use wallet.smartAsset.claim
.
wallet.smartAsset.claim(network, tokenId, passphrase, receiver?)
Return Payload
The transaction request is sent to the blockchain.
Retrieve NFT(s)
Method
To retrieve digital passports owned by your wallet and the content associated with these tokens, use wallet.smartAsset.getOwned
.
wallet.smartAsset.getOwned(onlyFromBrands?:string[], i18nStrategy?:{useLanguages?: string[]})
Return Payload
The digital passport(s) information is returned.
Generate proof of ownership
Method
To generate a proof of ownership of a specific digital passport, use wallet.smartAsset.createProofLink
.
wallet.smartAsset.createProofLink(network, tokenId, passphrase?)
Return Payload
The proof of ownership link is returned.
Retrieve dMessages
Method
To retrieve the data and content of received dMessages, use wallet.message.getReceived
.
wallet.message.getReceived(i18nStrategy?:{useLanguages?: string[]})
Return Payload
Message(s) information is returned.
For more information about Arianee SDK, dig deeper into the documentation.
Updated 2 months ago