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.0a62.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84f77ec07730697296657ac5b150187dcf602f59a8133ca052e5df19167f0e5c |
|
MD5 | af2e416ab8c5ce9dafe7dfb4e7beea10 |
|
BLAKE2b-256 | aabe7f44355e322d587da451457ad4ebe285d83aa34050be111a525692d01c20 |
Close
Hashes for etherbase_predeployed-1.1.0a62-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b4b81178470b18d59f9c40542f408ecbe4a76051201fb1f0afc38ca0854d11e |
|
MD5 | 1c64292ea4b299583322a1d7ea4e66b3 |
|
BLAKE2b-256 | c0c7b73b36de40a6e8c10b84819a103e821fcac0bd1803d3550343a3e06ea705 |