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.1a43.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52f6ad1dfc8df6089e68fb997a71376e0e69f6448fb8c98c85b33401d44e5e62 |
|
MD5 | efd7ce5e49e19e0cc5fe4145d3de4721 |
|
BLAKE2b-256 | 28f0dde3e4ef766c04e3df80f7028c8d9c72186f8914ddd3335f0c7b5106f5d7 |
Close
Hashes for etherbase_predeployed-0.0.1a43-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5bfb571a663d7103bbf48ebaa55788781205f65f92c1bcfa81a33e8b9b21c31 |
|
MD5 | 8aa6cca8cf2179b7e1baa1b8d32224cb |
|
BLAKE2b-256 | 0acb5fdc05056f4eaf9999cf0aaf1366ce2bca1398dd8a58f62a6497f22acf69 |