Celo Dollars SPV written in TypeScript.
- Node.js 10
yarn install
ornpm install
yarn run start
In the code, replace the console logs with the logic of your choice to:
- block ( save block hash in your DB )
- transfer ( save and manage transaction in your code, eg.: if your user received cUSD )
- confirmed ( confirm a transfer )
- unconfirmed ( unconfirm a transfer )