Nifty wallet is designed for developer interaction. You can import BlockScout verified contracts simply by entering the contract address - the ABI automatically populates from there. If a contract is not BlockScout verified, you can also paste in the ABI.
In this example, we import a token contract and send an amount to a bridge mediator contract, which transfers the token (sUSD) from the xDai chain to the Ethereum Mainnet.
Connect to the chain where the contract is deployed. Here we use the xDai chain.
Click on the Accounts Icon.
Scroll down and select Import Account.
Choose Contract in Select Type Dropdown.
Paste in the Contract Address (we use
0x4C36d2919e407f0Cc2Ee3c993ccF8ac26d9CE64e ). If the contract is verified in BlockScout, the ABI will auto-populate. If not, paste the ABI. Here are a few ways to retrieve the ABI of a contract.
This makes the account easier to find. Hover over the account name and "edit" will appear. Click on edit to change the name. Click Save.
Click the Execute Methods button to see all of the available methods. We choose the transfer method.
The transfer method accepts two arguments.
_to field, we enter the bridge mediator contract address
value field, we enter a value of sUSD in Wei to transfer. We must have this amount in the account we will use to execute the call (min 0.5 sUSD or 500000000000000000 Wei)
Click Next to continue.
Select an address to execute the contract call. In this case, the address must contain the amount of sUSD to transfer as well as a small amount of xDai to cover the gas costs. Choose an address and press Next.
Check gas fees and details and press Submit. The transaction should process. Once confirmed, check in BlockScout, and change networks to the Eth Mainnet see the new Balance.