-
Notifications
You must be signed in to change notification settings - Fork 2
Dashboard Tutorial
Download the latest release according to your system:
Open terminal for macOS and Linux users. If using windows, you could use cmd or powershell.
enter the directory where the latest bytom application are downloaded, run the following command:
$ ./bytomd init --chain_id testnet--chain_id testnet means to connect to the public testnet. If you use --chain_id mainnet, it would be standalone mode.
$ ./bytomd node --miningThen you could access the dashboard by visiting http://localhost:9888 via your brower.
Whither creating a new account or asset, you have to create a key first, which is essential for asset and account.
Let's say, new a key naming alice:
Accounts -> New, choose an account alias, e.g., alice:
Select an avaliable key for account alice:
Let's new an asset naming gold:
Choose a key as well.
Before sending a transaction, ensure you have enough balances:
- every transaction needs to consume at least 20,000,000 BTM gas.
This section demonstrates the transaction alice sending 100000000 BTM to bob.
There are several types of actions.
-
Spend from account: sender of transaction. -
Control with accountorControl with receiver: receiver of transaction.
Note: The prompter of trading should pay the transaction fee, i.e., at least 20,000,000 BTM gas.
Sender(alice) pays the BTM as transaction fee:
Sender(alice) wants transfer 100000000 BTM to receiver:
Configure receiver(bob) accordingly:
Now, bob should have 100000000 BTM.
Aside from transferring BTM, which is a native asset in the system, you can issue some new assets in Bytom, e.g., gold. Whether issuing or spending an asset, you have to build a transaction to complete, which is similar to the above instruction.


















