Setup Antlia Nodes
To set up Antlia nodes, clone the code from Antlia:
Copy https://github.com/antlia-io/antlia-sdk
Run the following command to start nodes:
Copy make install
make build
make build-docker-antliadnode
docker-compose up
Setup Lite Client
Run the following command to start lite client:
Copy antliacli rest-server --chain-id=antlias-test-01 --laddr=tcp://0.0.0.0:1317 --node tcp://localhost:26657 --trust-node=false --home node1/antliacli
You can set path to any node
Copy e.g --home node1/antliacli
Setup Explorer
Prerequisites Required for setting up the explorer:
Setup the MongoDB using the following commands:
Copy sudo apt update
sudo apt install -y mongodb
sudo systemctl status mongodb
Create User on MongoDB Type following in side MongoDB:
Copy db.createUser(
{
user: "username",
pwd: "password",
roles: [ { role: "readWrite", db: "antlia" } ]
}
);
Manual Method:
Clone the project from Antlia:
Copy git clone https://github.com/antlia-io/explorer.git
Run following command to generate build:
Copy sh build.sh
cd bundle/programs/server/
npm install
cd ~/explorer/bundle
Run the following command to start explorer:
Copy PORT=3000 ROOT_URL=http://localhost/ MONGO_URL='mongodb://{username}:{password}@{IP}:27017/antlia' METEOR_SETTINGS="$(cat settings.json)" meteor node main.js
Setup Explorer using Docker:
To Get genesis file run the following command:
Copy https://raw.githubusercontent.com/antlia-io/Antlia-Explorer/antlias/development/settings.json
To run the docker:
Copy docker run -d -p 3000:3000 -e MONGO_URL=mongodb://{username}:{password}@{IP}:27017/antlia -e METEOR_SETTINGS="$(cat settings.json)" --name explorer rnssolutions/explorer:0.1.5
Setup Wallet
Lite Proxy
Clone the lite-proxy:
Copy git clone https://github.com/antlia-io/lite-proxy.git
cd lite-proxy
Install the Certificated:
Copy yarn install
yarn certificates
To run the proxy:
By default it will run on: https://lcd.testnet.antlia.rnssol.com
to change this update value of target in proxy.js
Wallet URL shortener:
To Setup url shortener clone the code:
Copy git clone https://github.com/antlia-io/url-shortner.git
cd url-shortner
docker-compose up
Wallet Docker Container:
Type the following command in terminal to run front end of wallet
Copy docker run -p 9080:9080 -d rnssolutions/antliawallet:1.0.4
Wallet Manual Method
Clone the code from Antlia:
Copy https://github.com/antlia-io/faucet-backend.git
Run following command by update the endpoint url:
Copy QRCODE=https://wallet.testnet.antlia.org FAUCET=https://proxy.testnet.antlia.org:8010/claim/wallet SHORTURL=https://s.testnet.antlia.org/encode/ CHAIN=antlias-test-01 STARGATE=https://proxy.testnet.antlia.org:9061 RPC=https://rpc.testnet.antlia.org yarn build
Run following command to run wallet:
Set Faucet
Faucet consist of backend and frontend.
Setup faucet backend
Clone the code from Antlia:
Copy git clone https://github.com/antlia-io/faucet-backend.git
cd faucet-backend
set the configuration in .env
set FAUCET_KEY
with with address of validator.
set FAUCET_KEY
with with address of validator set FAUCET_PASS
with pass of validator set FAUCET_CHAIN
with faucet chain set FAUCET_HOME
with path to validator cli a sample configuration is given in the .env
file to run the faucet:
Setup faucet frontend
Run the following command to run faucet frontend:
Copy docker run -p 8080:8080 -d rnssolutions/antlia-faucet-frontend:0.0.9-rc
Manual Method
Clone the code from Antlia:
Copy https://github.com/antlia-io/antlia-faucet-stable.git
Run the following command to build the faucet frontend:
Copy NODE_ENV=production VUE_APP_CHAIN=antlias-test-01 VUE_APP_CLAIM_URL=https://proxy.testnet.antlia.org:8010/claim yarn build
Update your end point in above command run following command to run faucet frontend: