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.1a42.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68538c722afb6b74389fc3920631d4a948c2c97fc58deb1af1c44dcc9958171b |
|
MD5 | ca0cee8282a79f4db1e0f9880474927f |
|
BLAKE2b-256 | c70ead68111784dd0ce5a34b9ea9811946fbb60de1daf45e1d4e32dad9e59700 |
Close
Hashes for etherbase_predeployed-0.0.1a42-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 398864b86deca00990b24745dc4243e1ebf1ea54f373b917f6fd6ce5c5cd1e0c |
|
MD5 | b7a539ec743b1e87ae0eaebdf0c9f192 |
|
BLAKE2b-256 | fda47802c7fb06d0ef2b119984097ddf85bf9d953fc2e6755437fc77c3a2c967 |