1.1.4-5 • Published 1 year ago

@unizen-io/unizen-trade-aggregator v1.1.4-5

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

unizen-trade-aggregator

Smart contracts of the Trade Aggregator of Unizen

Require enviroment

  • Node: v16.14.2
  • npm: 8.5.0
  • Yarn: 1.22.18
  • Ganache: 8.5.0

Installation

yarn or npm i

Run unit test:

  • Test with matic mainnet fork: yarn test:matic-fork
  • Test matic crosschain with matic mainnet fork: yarn test:matic-crosschain-fork
  • Test with ethereum mainnet fork: yarn test:mainnet-fork
  • Test with bsc mainnet fork: yarn test:bsc-fork
  • Test bsc crosschain with bsc mainnet fork: yarn test:bsc-crosschain-fork
  • Test with arbitrum mainnet fork: yarn test:aritrum-fork
  • Test with avalanche mainnet fork: yarn test:avax-fork
  • Test with fantom mainnet fork: yarn test:fantom-fork
  • Test with optimism mainnet fork: yarn test:optimism-fork

Publishing to NPM

npm login
yarn publish --access public

Integrating the project into a Dapp (e.g. create-react-app or Next.js)

To integrate this project into a Dapp, installing via npm package

yarn add @unizen-io/unizen-trade-aggregator