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.0a39.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b2aa2754fcd2bf83a2c363faa0d0a9c808612f2096e4cc0fc02350b5c2cc5f5 |
|
MD5 | 9346cea1cebab23fedb191152e55be42 |
|
BLAKE2b-256 | e4866ddfa8aca204eccd3e358a27467697b577ca1975786f37a6390bb843f7d8 |
Close
Hashes for etherbase_predeployed-1.1.0a39-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81f35166c9bf9546f424318f52deab6e0576643b6b4c96a18f5b90cefca66ba1 |
|
MD5 | 3b2d30199f76dbca600a7bb1c67a212b |
|
BLAKE2b-256 | 05162533e2b5a4ea0b3d23cf8fd83ab22e39faf2c3c4df49d59cfb11540732ce |