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.0a23.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fcd3c7e66d7e23f528a2d45d4c7341cb133f0dd3413a872baff3b306c91fab6 |
|
MD5 | 08748617fefc3bd572b7e795daa48af7 |
|
BLAKE2b-256 | 0b13313e6b69669b71c2d6d60bf12cd631c51a4231d39efdcc1552217c449709 |
Close
Hashes for etherbase_predeployed-1.1.0a23-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38bdc75bc4952704a77d95230abaa744f6b7dc5be22feeae7f2a20cc3995975b |
|
MD5 | 4e4d9aaf177d2d0057a6aacf31e4c809 |
|
BLAKE2b-256 | 314b593b82e5f65fbe6e4f750606c8b2580ace1e954b1c24528378e2cf033d1e |