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.1a13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d3cd9e986bca7e6ef810603466ae0037390623676f6d08a58b13f109633c416 |
|
MD5 | 93e6f121d8e42db71046fda96f24c835 |
|
BLAKE2b-256 | 224df94a58aa1985474fd38e89220e8568f0b98c31aac366c6122deb2454ab63 |
Close
Hashes for etherbase_predeployed-0.0.1a13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d618dd33a747e244fc9f8103a8d1ab21fd95e0549323b5371e81bd5ff20de946 |
|
MD5 | cb889ed28cd3d49dd9dbd57befc1ef14 |
|
BLAKE2b-256 | 433d43d29a3f2599ddef4b86eda5f88f8d72f6bd324ea02b34eba9965aaa7f29 |