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.0a30.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0254f1ac241d90b60667cf05f0b08b0c454d1e4c8fd64a0f1a52d456a3f5420 |
|
MD5 | f72a4ad5f14d0d275330eb4327d31446 |
|
BLAKE2b-256 | 23192a5e3bbb75393a1d804f09302dfb56ff946a1db3622b9ed0869fb43c485f |
Close
Hashes for etherbase_predeployed-1.1.0a30-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f80ff1b060405e99df81bfe3aca34f6e458f34fe7bf0d48dc91e88b425b8f28 |
|
MD5 | dc8ea004feb104da35e76d50bc80b571 |
|
BLAKE2b-256 | 85a4f9b3d79ad20f2ef7ffc0df3d84744d7064e4a6a1378c6fc5fe101c2e4943 |