Delegating Using The Flare Explorer | How To Guides

Index


We're going to use the Flare Explorer to wrap our tokens, check our balance, and delegate to a Signal Provider.

First, you're going to need to have your tokens wrapped. If you already have wrapped tokens, you can go straight to the delegating step.

Wrap FLR to WFLR

In the top right hand corner, enter WNat and select the contract 0x1D80c49BbBCd1C0911346656B529DF9E5c2F783d.

From the menu bar, in the middle of the screen, select "Write Contract".

You'll be writing to the blockchain, so please make sure your wallet is connected by clicking the "Connect MetaMask" button.

Scroll down to method 8. deposit -> and enter the amount of FLR you wish to wrap. Please be sure to leave a few FLR unwrapped for gas for this operation and subsequent delegate, claim and unwrap operations.

When you've enterered the desired amount, hit the "Write" button and you'll be prompted to sign the transaction on MetaMask.

Check WFLR Balance

While in the same WNat contract, select the "Read Contract" option, which appears to the left of the previously selected "Write Contract" link.

This time, you're going to want to use method 2. balanceOf.

Enter your wallet address and select Query. This isn't performing a transaction so you won't need to confirm on MetaMask. The result will be displayed directly below and will look something like this:

balanceOf method Response

[

(uint256) : 1 000 000 000 000 000 000

]

Note: One WFLR is written with 18 zeroes, e.g. 1 000 000 000 000 000 000.

Delegate To A Signal Provider

Still using the WNat contract, select the "Write Contract" link.

Please make sure your wallet is connected, if it is it will say "Connected" in the MetaMask dialog, if it isn't, please hit the "Connect MetaMask" button now.

Scroll down to method 6. delegate -> and enter the Signal Providers address and the amount in "bips" you wish to delegate.

Example, 0x4990320858AE3528B645C60059281a66C3488888 (FTSO AU) and 10000 (100%)

Confirm the transaction on MetaMask and you're all set.

Check Your Delegation

Highly recommeded if this is your first time using the Flare Explorer to delegate.

Once again, in the WNat contract, select the "Read Contract" option.

Scroll down to 9. delegatesOf and enter your wallet address.

If you delegated 100% to FTSO AU you will see the following:

delegatesOf method Response

[

_delegateAddresses (address) : 0x4990320858AE3528B645C60059281a66C3488888

_bips (uint256) : (10000)

_count (uint256) : 1

_delegationMode (uint256) : 1

]

That's it, you've now successfully wrapped, checked your balance and delegated using the Flare Explorer.