Skip to content

JustynaBroniszewska/start-ganache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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()

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published