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.0a76.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56ea0fa0c568c52778bfa66ddc1a1083b60776625e8cf4bdc035f6402080ce60 |
|
MD5 | e8223f235bce0cfa5d0c7530e0eb8d90 |
|
BLAKE2b-256 | 465557846cc8c6438c53af9f414c0d7bac67c75de8e38332fcd3f5978cbd8f8e |
Close
Hashes for etherbase_predeployed-1.1.0a76-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c16c10bc33e85b3f6eeb3d4f9f55c4b684fd41eb4d085ba8e713d07822a4a79a |
|
MD5 | 5a00fa67f282464d9e1376a65dce2be7 |
|
BLAKE2b-256 | 16cf7143b51af552b7d8fb7a1ca2ce091509368bb3a2e199e460e8383dde6cb9 |