First, install Node.js 16 and Rust. We recommend using nvm to manage your Node.js versions.
Clone the repo.
git clone https://github.com/holonym-foundation/holonym-relayer.git
Install dependencies with npm.
npm install
Set environment variables. You might need to get in touch with the team to get the values of some of these variables.
cp .env.example .env
Run the development server.
npm run dev-server
In another terminal, run the daemon.
npm run dev-daemon
A local hardhat environment is used for testing. All of the smart contracts in contracts/ are used here solely for testing purposes. Call npm run test
to test