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.0a28.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4b9de72b734f8487294640bc0383afbac791eaa8102c68512393ee6938d6902 |
|
MD5 | bff776eafb4797a9f695b5b1d535a45c |
|
BLAKE2b-256 | c05d632608a8f7704c3b7b8c76bb5c4e831740bdf7ad00baff864b2de31ecb9d |
Close
Hashes for etherbase_predeployed-1.1.0a28-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8726e9612d7772be08d473b38a23079c5ca2dd19b6589a1ff1e2185f519dfcbb |
|
MD5 | 5dda97f067f993d7bd0ceb2b95b04a6a |
|
BLAKE2b-256 | 30cfcef7e7f950fae6f537cb5dcced5866c59f98b9516c6d12b5dcf1de1b540c |