ChainIn backend server powered by Tableland. Written in ExpressJS, NodeJS and TypeScript. Hosted on Render.
Install dependencies:
npm i
Start the server:
npm run dev
Install dependencies:
npm i; npm run build
Start the server:
npm run start
To run this project, you will need to add the following environment variables to your .env file:
ALCHEMY_MATIC_API_KEY="your_alchemy_matic_api_key"
ALCEHMY_SEPOLIA_API_KEY="your_alchemy_sepolia_api_key"
JWT_SECRET="your_json_web_token"
WALLET_PRIVATE_KEY="paste_your_private_key_here"
WHITELISTED_IPS="your_public_ipv4_address"
TABLELAND_USER_DATABASE="tableland_database_name"
TABLELAND_ORGANISATION_DATABASE="tableland_database_name"
TABLELAND_LISTING_DATABASE="tableland_database_name"
TABLELAND_APPLICATION_DATABASE="tableland_database_name"
- For
WALLET_PRIVATE_KEY
export your wallet private key from your wallet. - For
TABLELAND_[TABLE_NAME]_DATABASE
paste your tableland database names from studio.tableland.xyz. - For
WHITELISTED_IPS
paste your public IPv4 address to prevent unauth access to tableland database.