Zuko server to build Tableland API with Express and TypeScript. It powers the Zuko app using Sismo Connect.
API Documentation: https://documenter.getpostman.com/view/24722250/2s9YR6ZtJc
Install dependencies:
npm iStart the server:
npm run devInstall dependencies:
npm i; npm run buildStart the server:
npm run startTo run this project, you will need to add the following environment variables to your .env file:
WALLET_PRIVATE_KEY=paste_your_private_key_here
SISMO_CONNECT_APP_ID=0x123456789
JWT_SECRET=your_json_web_token
WHITELISTED_IPS=127.0.0.1
TABLELAND_USER_DATABASE=user_db_123
TABLELAND_COMMUNITY_DATABASE=community_db_123
TABLELAND_USER_COMMUNITY_DATABASE=user_community_db_123- For
WALLET_PRIVATE_KEYexport your wallet private key from your wallet. - For
TABLELAND_[NAME]_DATABASEpaste your tableland database names from tableland.xyz. - For
WHITELISTED_IPSpaste your public IPv4 address to prevent unauth access to tableland DBs.