0.2.1 • Published 10 months ago

@furucombo/composable-router-logics v0.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

@furucombo/composable-router-logics

Lint Unit Test E2E Test

An SDK that build protocol logics for composable router

CLI

  • Generate protocol's abi TypeScript classes

    # - abi files: src/{protocol}/abis/*.json
    # - contracts dir: src/{protocol}/contracts
    yarn cli typechain
  • Run protocol's tests

    yarn cli test
  • Run protocol's script

    yarn cli script

Hardhat e2e testing

yarn hardhat test [test file]

Install

Install the package via npm:

npm install --save-dev @furucombo/composable-router-logics

or yarn:

yarn add --dev @furucombo/composable-router-logics