⏹️
Truebit on Ethereum v1
  • About Truebit on Ethereum
    • Overview
    • Use Cases
    • Research
    • FAQ
  • Getting Started
    • Install Truebit on Ethereum
    • Truebit on Ethereum Structure
    • Start Docker container
    • Create a Wallet
    • Synchronize the Ethereum Node
    • Start a Truebit on Ethereum Terminal for Each Role
    • Start Truebit on Ethereum
    • Purchase TRU tokens
    • Check Balances
    • Purchase Solver License
    • Start Solve and Verify
    • IPFS connection for distributed file sharing
    • Glossary
  • COMMUNITY
    • Support & More Information
Powered by GitBook
  1. Getting Started

Check Balances

PreviousPurchase TRU tokensNextPurchase Solver License

Last updated 1 year ago

Once :

1. See all the accounts.

accounts -r

OUTPUT

0: 0x2F25f5DF360305977Fef8F6730883a787785B802
1: 0x353510EF7b01b4BAAd9616ae23d344c5945c6771
2: 0x1Da28542742614B3CA2941F9DFcD23FFc3CB0071

In this example, account 0 represents the Solver, account 1 represents the Verifier, and account 2 represents the Task Giver.

2. Check balance of account 0.

balance -a 0

OUTPUT

info: At block 6841799, address 0x2F25f5DF360305977Fef8F6730883a787785B802 has the following balances: account: 0.676828037982983413 ETH,
47124.663847753967123863 TRU,
deposit (unbonded): 1703.6 TRU.

3. Stake some TRU to solve, verify, and task execution.

token deposit -v 500 -a 0
token deposit -v 500 -a 1
token deposit -v 500 -a 2

OUTPUT

info: Deposited 500 TRU from account 0x2F25f5DF360305977Fef8F6730883a787785B802 into IncentiveLayer 0x76c73774bc137f3229c422a8e054a022d9066b22.

4. Gas for the deposit.

0.00242 ETH

5. Check balance account 1.

balance - a 1

OUTPUT

info: At block 6788783, address 0x353510EF7b01b4BAAd9616ae23d344c5945c6771 has the following balances: account:
0.104730456658735534 ETH,
500 TRU,
deposit (unbonded): 500 TRU.
Truebit on Ethereum has started