Enable & Mint Secret SCRT with Keplr
This blog post was originally published on Keplr's Medium blog on November 18, 2020.
SecretSCRT ($sSCRT) is a privacy-preserving, fungible Secret Token that is backed by $SCRT, the native currency of Secret Network. $sSCRT is the first implementation of the SNIP-20 standard.
๐ Create the Viewing Key
- Access your $SCRT account on Keplr Wallet Extension.
- Click on the three lines at the top left to display the menu.
- Select [Add Token] from the menu selection.
- Paste the following contract into the section called [Contract Address]:
secret1k0jntykt7e4g3y88ltc60czgjuqdy4c9e8fzek - After a few moments, the other fields will fill in automatically, except [Viewing Key].
- Select [Create].
- Choose the fees โ it is recommended to set [High] as the transaction may fail with too low a fee.
- Once [Set Fee] is selected, confirm by clicking [Approve].
If the transaction was successful, you will notice your available balance decreased as a result of the gas spent. In case of an error: if it is a system error, try closing and reopening Keplr. If the gas was too low, run the operation again from the beginning.
๐งฟ Enabling $sSCRT on Keplr
Once the operation is successfully completed, you will be automatically redirected to [Add Token]. You will notice that the [Viewing Key] field has now been filled automatically. Select [Submit] to complete the procedure.
Don't be alarmed if you don't see any apparent change on the home page: as soon as $sSCRT are sent to you, an additional dedicated section will immediately appear.
๐ Mint Secret SCRT Tokens Using Secret Contracts
- Go to the Keplr Wallet Dashboard.
- Click on [Secret Network] in the menu selection.
- In the [Convert] section, make sure [SCRT to Secret SCRT] is selected.
- Enter the amount of $SCRT you want to convert to $sSCRT in the [Amount] field.
- Click the blue [Convert] button at the bottom.
- In the window that appears, select [High] gas and confirm by clicking [Select Fee].
- Review the operation summary and click [Approve] to complete the procedure.
You can now view your $sSCRT balance in the app or directly on Keplr by scrolling down to the Secret Network panel.
๐ Send Your $sSCRT to a Secret Agent
On Keplr (extension) click on the $sSCRT box. A window will open where you can enter the recipient's address (secretxxxxxxxxโฆ) and the amount of $sSCRT to send.