Skip to content

Testing Azimuth

nvm install 16.13.0
nvm use 16.13.0
npm install -g truffle
npm install -g ganache-cli
git clone git@github.com:urbit/azimuth.git
cd azimuth
npm install


npx ganache-cli --gasLimit 6000000

# Update truffle config to use 127.0.0.1 rather than localhost
truffle migrate --reset

truffle test

Troubleshooting Attempts

Truffle would not connect to ganache-cli, a downgrade to node 16.13.0 and use of 127.0.0.1 instead of localhost in truffle config fixed the issue

export NODE_OPTIONS=--openssl-legacy-provider 
npx ganache-cli --gasLimit 6000000
export NODE_OPTIONS=--openssl-legacy-provider 
truffle migrate --reset
truffle test