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.0a11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1be69c992b058a377880f94abb490255dee63b95dc727aa5b0bf8836c2f3dd97 |
|
MD5 | 8638c06dd0a754182e76bd477296af11 |
|
BLAKE2b-256 | 8c4c86eb4f9eac71b455b75c3351f6b782cb390cd8d1ef900584d6b45e17f0b6 |
Close
Hashes for etherbase_predeployed-1.1.0a11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52c2660ecb29a0832f4c0b265bb09edb17386e02f894c4d4e3d273871f9cbb6b |
|
MD5 | 6fc4cb8995d078dec25d858a472f00a9 |
|
BLAKE2b-256 | 30468e7b6fa99aef5786a93c98f1c2cc9819d575a34f825d40ea49d03a2b4ba4 |