/celo-spv

Celo SPV written in TypeScript.

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Celo Dollars SPV

Celo Dollars SPV written in TypeScript.

To install

Requirements

  • Node.js 10

Steps

  • yarn install or npm install
  • yarn run start

To Use

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 )