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.0a12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a04993a14bea83b34bed30b6720a7a7bad69330fceccf5aecad635b8b97d7b3 |
|
MD5 | c80a47fdfe4b4c08152ccdac7de93c29 |
|
BLAKE2b-256 | 7725658f3ca1ba1caa79ec2fdfbfa0c97d0574323dc368e94933664be799fbba |
Close
Hashes for etherbase_predeployed-1.1.0a12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac817192bfff88b7ab82114f61b7b71a9d78a15c5253d7d50b75f2fd67368cc6 |
|
MD5 | c5cb0f0a96de498963d49c9badf5b075 |
|
BLAKE2b-256 | 6a8623c8f999afd0e17931d28b456296134a55d3dac1ad208c1135acc06d59fb |