SCRT on SENTINEL
In this article we will show how one Sentinel dVPN node provider is accepting the SCRT token from the Secret Network in order to connect directly to their node using the SCRT token on the Sentinel Blockchain. We will give a step-by-step guide on how SCRT token holders can utilize IBC on COSMOS to connect to other networks on the IBC, in particular the Sentinel Network.
STEP BY STEP - EASY METHOD (SCRT WRAP)
The easiest way to obtain SCRT on the Sentinel DVPN Network is to head over to https://wrap.scrt.network
And follow the next few steps:
Step 1: Connect your wallet
Step 2: IBC Transfer
Step 3: Send SCRT to the Sentinel Network
That's it! You've transfered SCRT to the Sentinel Network and can begin using the SCRT DVPN node.
Now you can scroll to the bottom of this post on how to connect to DVPN Nodes using SCRT.
Method 2: Using Keplr
Please note that this method is in beta and is reported to cause issues. It is therefore recommended to use https://wrap.scrt.network in the above method instead.
The first thing you will want to do is create a new Wallet using your favorite COSMOS wallet that allows IBC transfers - more about that later. We use Keplr in this guide as it was easy and successful.
Step 1: Create a Wallet and select the Sentinel Network. Add some DVPN to the address - 20 DVPN will do just fine.
You can get the DVPN token from OSMOSIS or KuCoin. The DVPN coin is needed for gas transactions on the Sentinel Network.
Step 2: Open your Secret Wallet on the Secret Network in Keplr as shown below:
Obviously you'll need some SCRT to do this since this is a guide for using a Sentinel dVPN node with the SCRT token.
Step 3: Scroll to the bottom of Keplr and select IBC Transfer. If this option isn't on the bottom of the wallet, you can turn it on in the Keplr Settings under the three lines in the upper left hand corner.
Step 4: Select "New IBC Transfer Channel" under "Destination Chain". In the image below you'll see we have already added the Sentinel Network to our wallet. We will guide you how to add this in the next few steps.
Step 5: You'll be presented with the following screen. The Destination chain will be "Sentinel", so select that.
Step 6: The Source Channel ID we have to get from Mintscan. This is the most crucial step in the process. Setting the wrong Channel ID and you will most likely lose your funds.
Click on the COSMOS and a menu will pop-up and select SECRET (follow the yellow arrows).
Step 7: Click on IBC RELAYERS and find the "Sentinel Network". This is the relayers between Sentinel and SCRT on IBC.
Step 8: Type in the Source Channel ID into Keplr. In this case, since we are moving from SCRT to Sentinel, the channel id is "channel-3" and click SAVE
Step 9: Now it's time to send some SCRT funds to a Sentinel wallet address via IBC Transfer. Make sure your wallet is still on the SCRT Network with coins. Go to the IBC Transfer and Select the Destination Chain as "Sentinel". Enter in the sentinel wallet address you wish to send the SCRT tokens to and click Next. The screenshot is seen below:
Step 10: Just like sending any other token to another wallet this is very similar. Input the amount of SCRT you wish to send, leave the fee on Average and click Submit. Finalize the transaction and you will get the following in Keplr
LAST STEP: Connect to Sentinel with SCRT Token:
Notice in the second screen shot we are on the Sentinel Network with DVPN tokens and a new Token SCRT. That's It! You've successfully transferred SCRT to the Sentinel Network. Now the fun begins. We are going to be using a little script that allows us to use this wallet in the Sentinel DVPN Client with the DVPN token and the SCRT token together. The handy little wrapper to sentinel-dvpn-cli can be found here: MySentinel GitHub
The commands are straight forward and really need no detailed write-up. I will list them here for brevity.
mysentinel.sh recover
Enter the wallet name and the seed phrase of your Keplr wallet with the DVPN and SCRT tokens.
Now edit the mysentinel.sh script with the your wallet name and wallet address from the above step:
Find the node that allows SCRT tokens by searching this list. There is only one node at the time of this writing and it is located in Canada. Subscribe to that node using the IBC contract address for the SCRT token on the Sentinel Network.
mysentinel.sh list | grep "Canada"
mysentinel.sh sub sentnode14tc607ya4vcppsz0uc904r9qcf64t5a7twdzpe 10000ibc/31FEE1A2A9F9C01113F90BD0BBCCE8FD6BBB8585FAF109A2101827DD1D5B95B8
In this case we are sending 10000uSCRT or equivalent of $0.04. Since the going rate for this node is 5000 uSCRT or approximately $0.02, we will get 2GB of data transfer for $0.04!
Ensure that this did in fact use SCRT tokens to subscribe to a Sentinel Node and then test it about by connecting to the dVPN subscription.
mysentinel.sh subs
mysentinel.sh conn 4620 sentnode14tc607ya4vcppsz0uc904r9qcf64t5a7twdzpe
That's it! You are now using the Sentinel decentralized VPN (dVPN) with the SCRT token!
Server side dvpn-node accepting SCRT token:
Simply set the following parameter with whatever uSCRT you would like. Note 1,000,000 uSCRT = 1 SCRT, so 6 decimal places.
price = "5000ibc/31FEE1A2A9F9C01113F90BD0BBCCE8FD6BBB8585FAF109A2101827DD1D5B95B8"
Questions or comments, please direct to freqnik [at] mathnodes.com