Run An Node

Run a local testnet from AiTrader-core

Pull and go into AI Trader-core:

git clone git@github.com:aitrade-labs/aitrade-core.git ~/aitrader-core && cd ~/aitrader-core

Run a local testnet:

cargo run -p aitrader -- node run-local-testnet --with-faucet --faucet-port 8081 --force-restart --assume-yes

You may add the --release flag after cargo run if you want to build a release version of the CLI for running the local testnet.

You are now running a local testnet built from aitrader-core main.

{

"name": "project",

"version": "1.0.0",

"main": "index.js",

"license": "AIT",

"dependencies": {

"aitrade": "../a/core/ecosystem/typescript/sdk/"

}

}

Parameter
Value

DATA_TRANSPORT_LAYER__NODE_ENV

production

DATA_TRANSPORT_LAYER__BSC_NETWORK_NAME

Testnet

DATA_TRANSPORT_LAYER__ADDRESS_MANAGER

0x4238E5Ccc619dCC8c00ADE4cfc5d3D9020b24898

DATA_TRANSPORT_LAYER__SERVER_HOSTNAME

localhost

DATA_TRANSPORT_LAYER__SERVER_PORT

8989

DATA_TRANSPORT_LAYER__SYNC__F

false

DATA_TRANSPORT_LAYER__L1_RPC_ENDPOINT

Get an endpoint from a service provider (opens new window)unless you run a node yourself

DATA_TRANSPORT_LAYER__SYNC__T

true

Last updated