registrar-middleware
is a very simple API that proxies authenticated requests to the nOS
name-service smart contract.
- Install dependencies:
yarn install
- (optional) Copy env file:
cp .env.local.example .env.local
Running registrar-middleware
depends on the NETWORK
, AUTH_TOKEN
, CONTRACT_ADDRESS
and
CONTRACT_WIF
environment variables being set. Either specify these via an .env.local
file, or
pass them as command line arguments when running the below commands.
$ yarn start
$ yarn dev