https://www.npmjs.com/package/@vivektamilarasan/sdk-core
-
For Address changes, go to this file
addresses.ts
and make necessary updates to the latest address against the Shido Chain ID.Example Details for Shido Chain ID: 9007 const SHIDO_ADDRESSES: ChainAddresses = { v3CoreFactoryAddress: '0xb7E52fc3d6796878b013b798d3c08BFF7A992399', multicallAddress: '0x1b55c19a40ea79994420B0328DC78FCa6ab6c9A7', quoterAddress: '0xbcb75F62C2D58eb5137EE0b84Ea6c2a9FF8B9B42', v3MigratorAddress: '0x0000000000000000000000000000000000000000', nonfungiblePositionManagerAddress: '0x088c1Ea6ed6b09B75bae79d97E6772e037769132', tickLensAddress: '0x1000000000000000000000000000000000000000', swapRouter02Address: '0xf0E15ee7f530613bEC134882e0F031f077F30AE1' }
-
For WSHIDO address change, go to this file
weth9.ts
and make necessary updates to the latest address against the Shido Chain ID. Example Details for Shido Chain ID: 9007 [9007]: new Token(9007, '0x49fa8960c7fFf77848e88F65ea00ba28F16870D9', 18, 'WSHIDO', 'Wrapped Shido') -
For local build: npm install npm run build
-
For NPM build and public public:
- Change the npm version in package.json
- npm init --scope=@vivektamilarasan (if not done already)
- npm publish --access public
All versions after 4.2.0 of this SDK can be found in the SDK monorepo! Please file all future issues, PR’s, and discussions there.
If you have an issue or open PR that is still active on this SDK in this repository, please recreate it in the new repository. Some existing issues and PR’s may be automatically migrated by the Uniswap Labs team.