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.0a7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b155f04bb7d04126aedb6abf8ec99d49c1a5bb5063b5bfcbb3e51819723bfb04 |
|
MD5 | c35ff04e71da0ad428ddfa45750f4d11 |
|
BLAKE2b-256 | 66b8c30d0339d12ebae379b02e7e23264f6a9453ee07f1a3dcbdec54bb4e5f3b |
Close
Hashes for etherbase_predeployed-1.1.0a7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40b53d43bc66fdd1b207603175891e936f2273e64fbeff52b1e4151edb9cebdf |
|
MD5 | 6c739b9a546c87bd3658c5b5fa802ef8 |
|
BLAKE2b-256 | db356cea8df0993468d749ee470c52a14e5ea979ba72b56179e7c4a4504facf2 |