- Node.js
- Git
Follow these steps at the command line:
git clone https://github.com/aphd/smac-corpus-api.git
cd smac-corpus-api
npm install
echo "DB_URL=mongodb+srv://<user>:<password>@cluster0-euwvg.mongodb.net" > .env
echo "PORT=<__HTTP_PORT__>" >> .env
npm run start
node --experimental-modules src/services/client.mjs
To compress the smart contracts' data
yarn compress
To extract the smart contracts' data
yarn extract
- Watch the companion video at: https://www.youtube.com/watch?v=fy6-LSE_zjI
- https://etherscan.io/apis#contracts