Skip to main content

Shellby Aptos

Install Nodejs

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
source ~/.bashrc
nvm install 'lts/*'
nvm use 'lts/*'
nvm alias default 'lts/*'

Install Aptos CLI

curl -fsSL "https://aptos.dev/scripts/install_cli.sh" | sh

Install Shellby CLI

npm i -g @shelby-protocol/cli

Init

shelby init
  • Yes
  • press Enter to skip ( But if you want to use API to prevent ratelimits you can use API Keys READ THIS)
  • Yes
  • Give any name you want
  • Keep it ed25519, just press Enter
  • Leave blank to generate new key (Recommended), or import your private keys from Petra wallet
Private Keys
  • Backup your Private keys, you can see it in ~/.shelby/config.yaml

Get Faucet

1. APT Faucet: Import your private keys to Petra Wallet

  • Open Petra Wallet Settings

    • Click on the Petra wallet extension in your browser
    • Click the gear icon (⚙️) in the bottom right to open Settings
    • Navigate to the Network section
  • Add Shelby chain:

    • Network Name: Shelbynet
    • Node URL: https://api.shelbynet.shelby.xyz/v1
    • Indexer URL: https://api.shelbynet.shelby.xyz/v1/graphql
    • Faucet URL: https://faucet.shelbynet.shelby.xyz
  • Then click faucet button

2. ShelbyUSD Faucet

Create Directory and Files

mkdir shel
cd shel
touch {a..z}.txt
cd

Get the auto-upload script

wget -O shel.sh https://learn.megumii.xyz/shel.sh && chmod +x shel.sh

Setup Screen and Run the script

screen -S shel 
./shel.sh

Output

  1. You can check the output use
tail -f ~/shel/output.txt
  1. You can check your address on Shelby explorer
  1. To see your balances, just open Petra wallet or use this command
shelby account balance