change address

master
cyhhao 2 years ago
parent ffc9b9ef55
commit 9b714b3a96

File diff suppressed because one or more lines are too long

@ -5,7 +5,8 @@ import bip39 from 'bip39'
import inquirer from 'inquirer' import inquirer from 'inquirer'
import parse from 'parse-git-config' import parse from 'parse-git-config'
import { importActions, generateActions } from './actions.js' import { importActions, generateActions } from './actions.js'
import abis from './abi.js' import abis from "../config/abis"
import network from "../config/evm-network"
const program = new Command() const program = new Command()
program program
@ -140,8 +141,9 @@ program.command('create')
: ethers.Wallet.fromMnemonic(key) : ethers.Wallet.fromMnemonic(key)
etherWallet = etherWallet.connect(provider) etherWallet = etherWallet.connect(provider)
let net= network[3334]
const contract = new ethers.Contract( const contract = new ethers.Contract(
'0x0068bD3ec8D16402690C1Eddff06ACb913A209ef', net.contracts.git3,
abis.ETHStorage, abis.ETHStorage,
etherWallet, { etherWallet, {
gasLimit: 10000000000 gasLimit: 10000000000

Loading…
Cancel
Save