A tool for generating predeployed etherbase smart contract
Project description
etherbase-predeployed
Description
A tool for generating predeployed etherbase smart contract
Installation
pip install etherbase-predeployed
Usage example
from etherbase_predeployed import UpgradeableEtherbaseUpgradeableGenerator, ETHERBASE_ADDRESS, ETHERBASE_IMPLEMENTATION_ADDRESS
OWNER_ADDRESS = '0xd200000000000000000000000000000000000000'
PROXY_ADMIN_ADDRESS = '0xd200000000000000000000000000000000000001'
etherbase_generator = UpgradeableEtherbaseUpgradeableGenerator()
genesis = {
# genesis block parameters
'alloc': {
**etherbase_generator.generate_allocation(
contract_address=ETHERBASE_ADDRESS,
implementation_address=ETHERBASE_IMPLEMENTATION_ADDRESS,
schain_owner=OWNER_ADDRESS,
proxy_admin_address=PROXY_ADMIN_ADDRESS
)
}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for etherbase-predeployed-1.1.0a27.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8359a6677e817ae43ee3dd08c5a5b977e8cdb4d2f0f163b707d0a740a398256 |
|
MD5 | 921a3b511141d77f96350cc7c690c8f8 |
|
BLAKE2b-256 | 956c348f52a08409ffa04049b1ef79663c5c1274d6299f335f5de60d0b058a40 |
Close
Hashes for etherbase_predeployed-1.1.0a27-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ecdac77f6c5fe303626a7b01c5fa6be518b8f98454493ba5ecefabe1c86f37d |
|
MD5 | c66e1ddb654b285f5c4d0be471763bbb |
|
BLAKE2b-256 | 9de8dc0f3a8ddd28af58c601bf6c6ffc6070a556aa52fc1a8df00a7b0328d008 |