Skip to content

SYBIL-MAFIA/layerzero-deploy

 
 

Repository files navigation

Deploying OFT (V1)

Typing SVG

Information's

Запуск смартов в 7 сетях(тестнеты): npx hardhat deploy --network goerli --tags ExampleOFT npx hardhat deploy --network bsc-testnet --tags ExampleOFT npx hardhat deploy --network fuji --tags ExampleOFT npx hardhat deploy --network mumbai --tags ExampleOFT npx hardhat deploy --network arbitrum-goerli --tags ExampleOFT npx hardhat deploy --network optimism-goerli --tags ExampleOFT npx hardhat deploy --network fantom-testnet --tags ExampleOFT npx hardhat wireAll --e testnet --config-path "./constants/oftConfig/wireUpConfig.json"

Send OFT между сетями

npx hardhat --network fuji oftSend --qty 100000000000000000 --target-network mumbai

Deploying OFTV2 между сетями

npx hardhat deploy --network goerli --tags ExampleOFTV2
npx hardhat deploy --network bsc-testnet --tags ExampleOFTV2

Send OFTV2 между сетями

npx hardhat --network fuji oftv2Send --qty 100000000000000000 --target-network arbitrum-goerli

Deploying OFTWithFee w/ после деплоя ERC20

npx hardhat deploy --network fuji --tags ExampleProxyOFTWithFee
npx hardhat deploy --network bsc-testnet --tags ExampleOFTWithFee
npx hardhat deploy --network arbitrum-goerli --tags ExampleOFTWithFee

Send OFTV2 между сетями

npx hardhat --network fuji oftv2Send --qty 100000000000000000 --target-network arbitrum-goerli

OFT (V1) конфигурация

npx hardhat setConfig --config-path "./constants/oftConfig/appConfig.json"

OFTV2 конфигурация

npx hardhat setConfig --config-path "./constants/oftv2Config/appConfig.json"

OFTWithFee конфигурация

npx hardhat setConfig --config-path "./constants/oftWithFeeConfig/appConfig.json"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 65.6%
  • TypeScript 22.3%
  • Solidity 12.1%