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.0a21.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2cbc9618592c38f1b9998d4eb92117fd243a9e2f4676b8d09fdb858ee3b877e0 |
|
MD5 | 1427ab4c602ef896812fc17bf2e7a2be |
|
BLAKE2b-256 | 0623a27549f1ab4546eda72627cac992cd2995968cde6f02081def791a24ff26 |
Close
Hashes for etherbase_predeployed-1.1.0a21-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8274659bd389b0efb3045ad41d7cf138a326fadfdb2d7248135ad1df8b05af1 |
|
MD5 | 18ace9309192e744e87d24ded59ff32f |
|
BLAKE2b-256 | 2c13b463b1047b189827512cd1a419143d309f083b5408224a2a93f559705145 |