@alys-chain/verto-v2-core
Version:
Core Smart Contracts of Verto V2
48 lines (32 loc) • 785 B
Markdown
# Verto-core Project
This project demonstrates verto-core contracts.
## 1. Environment
```sh
# node: >= 18.16
# install:
yarn
# build
yarn build
# publish
npm login
npm publish --access public
```
## 2. Scripts
```shell
npx hardhat help
npx hardhat test
REPORT_GAS=true npx hardhat test
npx hardhat node
npx hardhat ignition deploy ./ignition/modules/Lock.ts
```
```shell
# Deploy creat2 Contract & VertoV2Factory
npx hardhat run scripts/deterministicDeploy.ts --network talys
npx hardhat run scripts/deterministicDeploy.ts --network linea_sepolia
# Deploy VertoV2Factory Only
npx hardhat run scripts/deployFactory.ts --network talys
# Show INIT HASH CODE
npx hardhat run scripts/showInitCode.ts
# Get Pair Address
npx hardhat run scripts/getPair.ts --network talys
```