The DREP Chain is a high-performance public chain fully developed by the DREP team. It is compatible with Smart Contracts in the EVM and WASM format with a dual layer structure constituting of a root chain and sub-chains.
- Provides a decentralized ID system and data privacy protection
- Integrates the underlying chain with both smart contracts and novel smart reputation pipes.
- Provides the DREP reputation protocols and reputation templates.
- Has high performance and high compatibilities.
-
Download the executable from here, and place it under the directory:
/usr/local/bin
-
Place the configuration file
config.json
under the directory:/usr/local/bin
-
Start the node using command:
./drep console
-
Download the executable from here
-
Place the configuration file
config.json
under the directory:C:\Users\$Username$\AppData\Local\Drep
-
Open the command-line interface (
cmd.exe
), navigate into the directory at which the executable is placed. -
Start the node using command:
drep.exe console
curl -H "Content-Type: application/json" -X post --data '{"jsonrpc":"2.0","method":"chain_getBalance","params":["0xb527326623a499f7ea550f1be98a9a6e3b56ee29"],"id":1}' http://127.0.0.1:15645
account
:hex string
, account address.
curl -H "Content-Type: application/json" -X post --data '{"jsonrpc":"2.0","method":"account_listAddress","params":[],"id":1}' http://127.0.0.1:15645
curl -H "Content-Type: application/json" -X post --data '{"jsonrpc":"2.0","method":"account_transfer","params":["0x7923a30bbfbcb998a6534d56b313e68c8e0c594a","0xb527326623a499f7ea550f1be98a9a6e3b56ee29","0x111","0x110","0x30000",""],"id":1}' http://127.0.0.1:15645
from
:hex string
, Sender address.to
:hex string
, Receiver address.amount
:hex string
, Amount of tokens to transfer.gasPrice
:hex string
, Gas price.gasLimit
:hex string
, Gas limit.