1.0.3 • Published 2 years ago

start-ganache v1.0.3

Weekly downloads
4
License
MIT
Repository
-
Last release
2 years ago

Start Ganache

Simple tool for starting own Ethereum network simulator.

import { startGanache, privateKeys, Multicall } from 'start-ganache'
import { Wallet, constants } from 'ethers'
import { deployContract } from 'ethereum-waffle'


async function main() {
    const port = 8545
    
    const provider = await startGanache(port)

    const wallet = new Wallet(privateKeys[0], provider)
    await wallet.sendTransaction({ to: constants.AddressZero })
    const multicall = await deployContract(wallet, Multicall, [])
}
main()
1.0.2

2 years ago

1.0.3

2 years ago

1.0.1

3 years ago

1.0.0

3 years ago