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.0a67.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe364f2a166b302c20639cf79c5d29db1c5a35ac5321888dfad1bd22d5964624 |
|
MD5 | 31108b2d3eacfa7ae04dfa31417c97b5 |
|
BLAKE2b-256 | 9ee0be29602f86b3ba8b8cca18494270ac8ddb4ad46c710d656bb5fd0a3f7a2d |
Close
Hashes for etherbase_predeployed-1.1.0a67-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12c59bbd1aeafa29a97e5f70f45aa67acc724a3b96c443c27d3c96966087ca2b |
|
MD5 | 10aa147259696e77d309916840eeac1c |
|
BLAKE2b-256 | 540b1c2168bece0195f6e6c2ca2143dfb7f23dc85436edb18286c7df0719ed75 |