Skip to content

Nada.bot application https://nada.bot Sybil resistance contract aggregator on NEAR Protocol

License

Notifications You must be signed in to change notification settings

PotLock/nadabot-app

Repository files navigation

nadabot-app

Nada.bot application https://nada.bot

Getting Started

nvm use; npm install;
# then run the development server
npm run dev

Open http://localhost:3000 with your browser to see the result.

Env vars

Create an env file named .env.local at the root of the project with the following content:

# NETWORK (testnet or mainnet)
NEXT_PUBLIC_NETWORK=testnet

# The smart contract ID (ID of the account where the contract was deployed)
# testnet: v1.nadabot.testnet
# staging: v2new.staging.nadabot.near
# mainnet: v1.nadabot.near
NEXT_PUBLIC_CONTRACT_NAME=<smart_contract_address>

# SOCIAL DB Smart Contract: v1.social08.testnet OR social.near
# Get to know more here: https://github.com/NearSocial/social-db
NEXT_PUBLIC_SOCIAL_DB_CONTRACT_ID=v1.social08.testnet

# Pinata JWT (ask Shot for the JWT Key)
PINATA_JWT=<jwt-code>