Skip to content

AudiusProject/audius-d

Repository files navigation

audius-d

🚨 Project Moved

Notice: The project has moved to the Audius Protocol monorepo as part of ongoing work to consolidate audius tooling. Visit the Audius docs for up-to-date info on installation and usage.

Moved

Run your own node.

Installation

Install audius-ctl on your local computer

curl -sSL https://install.audius.org | sh

Uninstall

rm -f $(which audius-ctl)

Run a Node

On your local computer

audius-ctl config edit

Write the following

network:
  deployOn: mainnet
nodes:
  content-1.example.com:
    type: content
    privateKey: abc123          # <--- UNIQUE PRIV KEY USED BY THIS NODE TO SIGN RESPONSES
    wallet: 0xABC123            # <--- UNIQUE WALLET ADDRESS OF ABOVE PRIV KEY
    rewardsWallet: 0xABC123     # <--- ADDRESS OF WALLET HOLDING STAKED TOKENS
  discovery-1.example.com:
    type: discovery
    privateKey: abc123          # <--- UNIQUE PRIV KEY USED BY THIS NODE TO SIGN RESPONSES
    wallet: 0xABC123            # <--- UNIQUE WALLET ADDRESS OF ABOVE PRIV KEY
    rewardsWallet: 0xABC123     # <--- ADDRESS OF WALLET HOLDING STAKED TOKENS

You MUST:

  • have docker installed on your server(s)
  • have simple ssh access to your server(s) (see SSH Configuration)

Stand up the node(s)

audius-ctl up

Restart a node

audius-ctl restart discovery-1.example.com

Tear down a node

audius-ctl down content-1.example.com

Contributing