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.0a60.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5d09b37e1744b84cd8c436b0f357f1ea38e9bf8394bfdd2b78a82f3ed4802db |
|
MD5 | 4fff99e3b402d0ab076b2a21c8c4035d |
|
BLAKE2b-256 | 773ca050313ccf26a2dbab47293caef03330fa96a45fb6b916e450e0dbc9d1b9 |
Close
Hashes for etherbase_predeployed-1.1.0a60-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c1e0cf557f20a8061189e6967447974272fded67ecc15d9a7c10c8cf39846a5 |
|
MD5 | eb9f1ed9ba469a44a44f6ec13393c2f6 |
|
BLAKE2b-256 | 30f4d0b9d2707ceb4cdf392a4fe55a41a02c6c542de8a8accee94b46885532b6 |