@wooy/api-runner

1.0.7 • Public • Published

Wooy API - Runner

This library allows you to run the API locally for debugging via the node.js node enviroment, as well as be included in other packages (such as the Cloudflare Worker api-entrypoint).

Development

  1. setInfuraId(INFURA_ID) or setQuicknodeId(QUICKNODE_ID)
  2. setFetch(fetch)
  3. getPools(1)

Local Testing

  1. node
  2. const { getPools, setInfuraId } = require( './dist/index')
  3. setInfuraId(YOUR_INFURA_ID)
  4. getPools(chainId)

Readme

Keywords

none

Package Sidebar

Install

npm i @wooy/api-runner

Weekly Downloads

0

Version

1.0.7

License

MIT

Unpacked Size

493 kB

Total Files

103

Last publish

Collaborators

  • alejolovallo
  • awolfsdorf
  • djaciel
  • hperezrodal
  • jm.aragonpaz
  • lizanlycan
  • lucas-marc
  • mariano-aguero
  • nicomendiatd
  • pmprete
  • rjchirinos
  • wooy_developer