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.1a5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eda7705135306d624ac5b7908f5da48b1939def00acc7b588bd9b7f5a9cd22da |
|
MD5 | 1dc8d01598aca78a1b43d186374e1501 |
|
BLAKE2b-256 | 9953b63dcfe22f5fc8724a8e923908cff1fc20cae21d43d3db076be2c962858e |
Close
Hashes for etherbase_predeployed-0.0.1a5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2b3910a2eda725d4716b1de63729c877ee17303bb531d9971a6b9dc9dbc2352 |
|
MD5 | c0c6c137f94657502d5c4bd63c2de119 |
|
BLAKE2b-256 | 2fea50c8f7fae04cb83cc4647291b214cb13d6cfe569f1e6faeddf0b8dc0b02a |