@execute-beta/sdk
v0.2.4
Published
Execute SDK
Downloads
25
Readme
Execute - SDK Package
Execute SDK
Commands
$ npm install
# Test ./dist/debug.js output
$ npm debug
# Before pushing changes
$ npm lint
$ npm test
$ npm test:coverage
$ npm build
# Helpful commands
$ npm ls
$ npm outdated
Debugging with VSCode
- open
./src/debug.ts
file - select your desired breakpoints
- press F5 to start debugging
EQL Builder
Example of use:
import { ExecuteSDK } from '@execute/sdk'
const execute = new ExecuteSDK('api_key')
execute //
.watch('ethereum.goerli')
.when('tx.block.number')
.lessThanOrEquals(0)
.notify('webhook')
.withParams({
destination: 'http://localhost:3009/v1/webhook',
})
.log('json-pretty')
.deploy()