Last updated
Last updated
Coin98 API may be undefined right after the webpage shown. Please check the first before reading this section.
SecretJS link: The basics of using SecretJS is similar to CosmJS. Refer to the section for more information.
One difference between CosmJS and SecretJS is that we recommend using Coin98's EnigmaUtils
. By using Coin98's EnigmaUtils
, you can use Coin98 to encrypt/decrypt, and the decrypted transaction messages are shown to the user in a human-readable format.
The webpage can request the user permission to add a SNIP-20 token to Coin98's token list. Will throw an error if the user rejects the request. If a SNIP-20 with the same contract address already exists, nothing will happen.
Returns the viewing key of a SNIP-20 token registered in Coin98. If the SNIP-20 of the contract address doesn't exist, it will throw an error.
You can use Coin98 native API’s to set interaction options even when using SecretJS. Please refer to .