Check Balances

Once Truebit on Ethereum has started:

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

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.

Last updated