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.1a28.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c753b92d96c6254bb9390348b039d7491a77ed47ab47e074a9090383655f6b76 |
|
MD5 | 6b38570d98ba9de1663b72200ca3417f |
|
BLAKE2b-256 | ae3412e509fdb8f2912a3ab2cee594f64db907fca011924fb3f1bc7da83a50b2 |
Close
Hashes for etherbase_predeployed-0.0.1a28-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdb8046c5146ab391ca21b8b8cb335798b3cdaf92938ade5648b699bb4e35f27 |
|
MD5 | 86fa458f2a542370fcdce7fcdad19dbf |
|
BLAKE2b-256 | bf6f21fda4a6ee2d10ddb73ff0f013ebc2346c6fdd4593a914c3a8fb307c1439 |