sudo apt-get update && apt-get upgrade -y
sudo apt-get install ca-certificates curl gnupg -y
sudo install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo chmod a+r /etc/apt/keyrings/docker.gpg
echo \
"deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
"$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y
echo "Docker Installed Successfully!"
echo "Check Docker: docker ps "
sudo rm -rf docker_install
curl -o docker-compose.yml https://raw.githubusercontent.com/muon-protocol/muon-node-js/pion/docker-compose-pull.yml
docker compose pull
docker compose up -d
curl http://localhost:8012/status
{"address":"0x22E25482F7B27b8765FE93F4ac0Cb79a0e8cB3ef",
"peerId":"QmVZrfc47AQQoPGjbWAmd1wQv9BtGYpFQ67JnbFmmHxAWN",
"networkingPort":"9012","node":{"addedToNetwork":false,...}}
https://thena.fi/swap?inputCurrency=0xb8067235c9b71feec069af151fdf0975dfbdfba5&outputCurrency=BNB
https://app.muon.net/pion/getting-started
docker exec -it muon-node ./node_modules/.bin/ts-node ./src/cmd/index.ts keys backup > backup.json
cat backup.json
docker exec -it muon-node ./node_modules/.bin/ts-node ./src/cmd/index.ts keys restore "$(cat backup.json)"
.env created successfully. -> done