Using Wallet Helper

A guide for using the wallet helper tool.

Starting your Full Node

In order to submit transactions, you will need to start your full node that was set up during the Setup Wallet Helper guide. To start your node you'll need to open the command line.

  1. Navigate to the directory of the Stratis Full Node project
cd Documents/StratisFullNode/src/Stratis.CirrusD
  1. Start the Full Node
# Windows or Linux
dotnet run -testnet

# Mac
dotnet run -testnet -dbtype=rocksdb

❗️

Must be Fully Synced to Continue

If your node is not fully synced you may not be able to properly build and broadcast transactions.


Logging In

Logging into Opdex requires a message signature and validation process that allows Opdex to verify you without knowing anything about you.

Head to the auth view on Testnet and click to copy the created QR code.

  1. Open Postman and navigate to the Login request in the Opdex Wallet Helper collection imported during the initial setup.

  2. On the upper right hand of the screen, check that your current environment is Wallet_Helper and that all of your wallet properties are properly set.

  3. Back to the Login request, click over to the Body section of the request underneath the URL bar. In between the empty quotes, paste in the content copied from the QR code.

  4. Click the blue Send button the top right of the screen to sign the QR code message with your wallet, then behind the scenes, the tool sends the signature and signing pubic key to Opdex API. The API will verify the signature and on success will automatically redirect the website UI with an auth token.


Quote any Transaction

Head to Opdex on Testnet and log in with your wallet public key to get started.

Once logged in, pick any transaction type and fill out the associated quote form in the transaction sidebar. Once finished, clicking the Quote button will provide a quote receipt of the transaction.

Quote receipts are estimates, they provide a view into what would happen if your exact transaction were to be submitted and mined at the time the request was made. Using the QR code on your transaction quote receipt, click to copy the underlying base64 encoded string, this will be used in the next steps.


Submit using Postman

  1. Open Postman and navigate to the Submit Tx from Quote request in the Opdex Wallet Helper collection.

  2. On the upper right hand of the screen, check that your current environment is the Wallet_Helper environment and that all of your wallet properties are properly set.

  3. Back to the Submit Tx from Quote request, click over to the Body section of the request underneath the URL bar. Remove everything from the text area and paste in the copied content from the QR code.

  4. Click the blue Send button the top right of the screen to submit the transaction using your local Full Node. A successful submitting will show your transaction Id from the full node and heading back over to the UI, you should see it populate on your screen if you kept the quote receipt drawer open.

🚧

Mining Blocks

Submitting a transaction at this point means it is in queue to be mined by a miner. When it is mined, it will show in your history.


Thats It! :sunglasses:

You now have your own Testnet Full Node and wallet. Now, you can begin utilizing the first DeFi protocols on Stratis Platform by submitting your own transactions from your own wallet to a fully decentralized protocol deployed to Cirrus Sidechain.


Did this page help you?