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-0.0.1a38.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6612079586335eb389b44a54dc6b9a644fdfc04ee5f3425abcd5cbe7a84e019c |
|
MD5 | 7db1fdc744a8f32085507b3a22bb09bd |
|
BLAKE2b-256 | ef03dbe5010bdab366cfd907b6392c40574711e56d7055604d5b7d753e3b6124 |
Close
Hashes for etherbase_predeployed-0.0.1a38-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13162123982ca38b85fffe6f245d7f100b140a212f67273948eab83eb9111b81 |
|
MD5 | 024c0dc9bce6d1dce984c6c9c3690052 |
|
BLAKE2b-256 | c92bf767564596b9d53e4c9a1afdc69a235bca352de4a8839ea30e0bbb07bbe2 |