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-0.0.1a40.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d605492e7fe79287369135f3a9480c54234d399b18a1d00bee86637db2e7165 |
|
MD5 | 84314c69893397f2837f007a35cce412 |
|
BLAKE2b-256 | 9405f4d94d08273fc1ea31b9edf185cf847f27fb146bd9d03e7620b051bf2ab8 |
Close
Hashes for etherbase_predeployed-0.0.1a40-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57c68d7c55288d52feb47b32ac3333692494ac87b40f68bc9669f4861266314d |
|
MD5 | 011e3d41d825ed90c73f4f2dbedce664 |
|
BLAKE2b-256 | 746025270695f94d672a889d7fa954fa6b807d127f8352956ae5d5f536b3bc87 |