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.0a47.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d491ea7d833d8a4beca576ef26164ecdd40b3f29940a3d7d9d0430c9a6244000 |
|
MD5 | 8bde0ca0f108b1d86e2e53ee3d9b0d90 |
|
BLAKE2b-256 | 4e9c320ddca41d86922b465a556394f965f0a94b79501941437faf0f4021fbe3 |
Close
Hashes for etherbase_predeployed-1.1.0a47-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce1fa27a047360696202b50b2da0d2f3aa4ffba0f142d96566ab3c1f22b64a61 |
|
MD5 | e79ae16a2d92def1572677be1750d9de |
|
BLAKE2b-256 | 517dd6e27ecf7589069e72476e1e2eded04f9985947559205992f826ea42943d |