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.1a4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf7b912e1fc5873829474072d3a0a2aa1fdb048c690102c310a92fa6f92fa169 |
|
MD5 | 48d45d9fd7f3631d0a0f0a938f1df9d1 |
|
BLAKE2b-256 | a0f028ec4bcdaa6cf84713f455937b779b1c444d3a3ea1d24ce94db965c4123e |
Close
Hashes for etherbase_predeployed-0.0.1a4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63a4a89b3973009848bcfe305836c9d8c71eb06f6030bb01befd2afb429c3b0d |
|
MD5 | fa5fab3265e904f5fd4457a80f314f08 |
|
BLAKE2b-256 | a8cf203e606206daa18e8b9ab7f4a88ec6e407e2a12b79cc374f282af73969a2 |