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.0b0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 260e0ea610bef954cf268e613f3f5d051c2116d8013217508603378b67913639 |
|
MD5 | 627ed5007bd2bce55c51179832584e07 |
|
BLAKE2b-256 | 452a0f239ee2818f86b7dda80f2d0d97ae2f1f8a81b2a3f6f416fa18d707bd45 |
Close
Hashes for etherbase_predeployed-1.1.0b0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7417f5c96f1078783b07dcdfb5b4289b2ef59914c445dff8a2b6ceacf12a1a3c |
|
MD5 | 77c3d0d67f00122444d5cd201f5abfaf |
|
BLAKE2b-256 | 7204618503c22f6000f7e5a1382e5bc47aaa92874b000245d6ee460b266972cd |