@alys-chain/verto-sdk-v2
v3.1.2
Published
Verto SDK v2
Readme
Verto SDK V2
To run the tests, follow these steps. You must have at least node v10 and yarn installed.
1. Install & Publish
# Install dependencies
yarn
# Build
yarn buildRun tests
yarn test发布包到npm(@alys-chain/verto-sdk-v2):
# 登录
npm login
# 发布
npm publish --access public2. 修改参数
修改如下文件中的参数:
verto-sdk-v2/src/constants.ts
修改:ChainId、FACTORY_ADDRESS、INIT_CODE_HASH
verto-sdk-v2/src/entities/token.ts
修改:WETH
verto-sdk-v2/src/fetcher.ts
位数缓存(可选):TOKEN_DECIMALS_CACHE