React Frontends
Why consider using Dragon?
Installation
npm install @blocktorch/0xdragonyarn add @blocktorch/0xdragonUsage
SDK initialization
import { Dragon } from '@blocktorch/0xdragon'
const dragon = new Dragon({
projectId: <your-project-id>,
apiKey: <your-blocktorch-api-key>
})
init(options?)
success(id, transaction)
error(id, error)
wrap(fn, options?)
Accessing data collected by Dragon
Last updated