Skip to content

Opti-domains/opti-ens-backend

Repository files navigation

Singular Backend

This service use to provider signature of operator.

How to use

git clone https://github.com/phanhoc/singular-be.git
cd singular-be
pnpm install
pnpm build
pnpm start

Config environment

cp .env.example .env

After that, you need to fill in the environment variables in the .env file

  • PORT - Port of server (default: 5100)
  • NETWORK - Network of blockchain (default: localhost)
  • CHAIN_ID - Chain id of blockchain (default: 31337)
  • RPC_URL - RPC url of blockchain (default: http://localhost:8545)
  • REGISTRY_ADDRESS - Address of registry contract (default: 0x)
  • ROOT_DOMAIN_ADDRESS - Address of root domain contract (default: 0x)
  • OPERATOR_KEY - Private key of operator use to sign transaction (default: 0x)
  • DEADLINE - Deadline of signature example for 1h: 3600

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published