This repository is a fork of the AR.IO node, modified for SenseiNode deployment. It provides a streamlined setup process for running a full AR.IO node, including an observer and gateway.
- Docker and Docker Compose
- A domain (DNS) pointing to the server running the node
- Node.js and npm (for generating wallets)
git clone https://github.com/Sensei-Node/ar-io-node.git
cd ar-io-nodeEnsure you have Node.js and npm installed, then install ArDrive CLI globally:
npm install -g ardrive-cliVerify installation:
ardrive --version-
Generate a seed phrase manually:
ardrive generate-seedphrase
This will output a 12-word seed phrase. Save it securely.
-
Use the seed phrase to generate the wallet:
ardrive generate-wallet -s "your twelve word seed phrase here" > arweave-wallet.json
-
Verify that the wallet was created correctly:
cat arweave-wallet.json
-
Get the wallet address:
ardrive get-address -w arweave-wallet.json
-
Move the wallet to the
walletsdirectory:mv arweave-wallet.json wallets/
Copy the example environment file and modify it:
cp .example.env .envEdit the .env file and update the necessary values:
# Gateway URL
TRUSTED_GATEWAY_URL="https://arweave.net"
# Arweave GraphQL settings
GRAPHQL_HOST=arweave.net
GRAPHQL_PORT=443
# Starting block height for transaction indexing
START_HEIGHT=0
# Observer Wallet (replace with your generated wallet address)
OBSERVER_WALLET="your-wallet-address"
# AR.IO Wallet (optional, required for participation in the network)
AR_IO_WALLET="<your wallet address>"
# Root Host for ArNS
ARNS_ROOT_HOST="your-domain"
# ARIO CU for the observer
AO_CU_URL=https://cu.ardrive.io
Start the node using Docker Compose:
docker-compose up -dThis will initialize and run the node with the configured settings.
You can run an AR.IO node without holding AR tokens, but to earn rewards, you will need tokens in your wallet.