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.0a48.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8830f8a517cc9ed550d47180bfb7f7559f74613de21b6a190385fd619191c46 |
|
MD5 | 894b066ec225fc7682422c5807130dbb |
|
BLAKE2b-256 | f1afa6b09b44d22640afe3ee20e8dd532af27b191f6e40d9591d0ee25dba381b |
Close
Hashes for etherbase_predeployed-1.1.0a48-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc9a19d4630f011c8e0acc5221307ef304ed1bdfa6979f61c9019e70290f4755 |
|
MD5 | 1658e8ae61e644997f3d1fe73a9e1ae8 |
|
BLAKE2b-256 | e05f3fbd45ab5721f1251a75794e12efdeeec49bbe2cff9ea3af7fb67a640558 |