Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 664 Bytes

File metadata and controls

32 lines (22 loc) · 664 Bytes

multisigwallet-predeployed

Description

A tool for generating predeployed MultiSigWallet smart contract

Installation

pip install multisigwallet-predeployed

Usage example

from multisigwallet_predeployed import  MultiSigWalletGenerator, MULTISIGWALLET_ADDRESS

ORIGINATOR_ADDRESS = '0xd200000000000000000000000000000000000000'

multisigwallet_generator = MultiSigWalletGenerator()

genesis = {
    # genesis block parameters
    'alloc': {
        **multisigwallet_generator.generate_allocation(
            contract_address=MULTISIGWALLET_ADDRESS,
            originator_addresses=[ORIGINATOR_ADDRESS]
        )
    }
}