pyreswap-sdk
v1.0.3
Published
- Yarn v3 (If unfamilair consult https://yarnpkg.com/getting-started/install to get started and familiarise yourself) - Node v14 and above
Readme
PyreSwap SDK
Fork SushiSwap SDK
Customization
- packages > core-sdk > src > constants > legacy.ts change INIT_CODE_HASH
- packages > core-sdk > src > constants > addresses.ts change factory and router addresses
- yarn build
- build as an npm library and plug into the project
Prerequisites
- Yarn v3 (If unfamilair consult https://yarnpkg.com/getting-started/install to get started and familiarise yourself)
- Node v14 and above
Versioning (Canary)
yarn lerna version --no-changelog --no-git-tag-version --preid canary --yes
Publishing (Canary)
yarn run lerna publish from-package --dist-tag canary --no-git-reset --no-verify-access --preid canary --yes
Core SDK
Testing
yarn workspace @sushiswap/core-sdk testBuild
yarn workspace @sushiswap/core-sdk buildLimit Order SDK
Testing
yarn workspace @sushiswap/limit-order-sdk testBuild
yarn workspace @sushiswap/limit-order-sdk buildTrident SDK
Testing
yarn workspace @sushiswap/trident-sdk testBuild
yarn workspace @sushiswap/trident-sdk buildTines SDK
Testing
yarn workspace @sushiswap/tines testBuild
yarn workspace @sushiswap/tines build