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.0a3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d7f8aec2956482c0ce87507ea57d177dff4b16e442908da5b016457a6785a32 |
|
MD5 | 74229fc9476357b5f55da0e6ef5cf704 |
|
BLAKE2b-256 | c5bbf9dcca4c704bf84b169afc71986b7f52d20c5bc8a25798efa8526aa48f68 |
Close
Hashes for etherbase_predeployed-1.1.0a3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e39be6f3b4d632415e51664a7703f0f2f44c9e9d351ad6d630b5bb75569da71 |
|
MD5 | 2e3b93ee4c6b7fef8f1edc25c7014b3b |
|
BLAKE2b-256 | 027f15c71578fcc3825a8c59b48e814439b304493e42e662dacfb5a3d8a28c5d |