NODEs
I suppose you using a clean LINUX environment. Let's do a simple previous steps to setup environment.
# 1. main directory, change if need it
export NODES_DIR='/etc/nodes'
export NODES_RONIN_DIR='/etc/nodes/ronin'
mkdir -p $NODES_DIR $RONIN_NODE_DIR
# force directories creation (care with permissions)
# sudo chmod -R 775 $NODES_DIR
# sudo chown $(whoami):$(whoami) -R $NODES_DIR
# 2. enter inside work directory
cd $RONIN_NODE_DIR
# 3. create GIT and commit before start
git init
git add -A && git commit -m '[node] starting project'How to create a node?
Ensure you still are in $RONIN_NODE_DIRdirectory.
# Download latest installer
curl -O -L -k https://stats.roninchain.com/downloads/ronin-manager-linux-latest.tar.gz
# Uncompress installer
tar xf ronin-manager-linux-latest.tar.gz
# Create config environment file (modify next steps)
touch .env
# Create docker file (modify next steps)
touch docker-compose.ymlMainNet
Create environment file:
After create environment file, modify params at .env file
Last step, modify docker-compose.yml file
TestNet
Create environment file:
After create environment file, modify params
How to start a NODE ?
Example of usage
How to call NODE?
1. RPC Methods
Check if RPC is working and syncing with curl.
2. GraphQL operations
Response
Node methods: ronin blockchain methods (updated at 2022-08-23)
GraphQL operations: https://axie-graphql.web.app/getting-started
Last updated