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.0a57.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2f90572b490e15ee930ab4b2af3270c6db51df4b56be74b240afa1146b50adc |
|
MD5 | d585024c22658dcb028a7d2b9d6c780f |
|
BLAKE2b-256 | da7c04171030063b7f4c420cd498efd67e2f6e7a01c63f110ed019bff513ef57 |
Close
Hashes for etherbase_predeployed-1.1.0a57-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac6240344337991108ead3269861af1a91093e96a3e3975dca04ef2419f06da8 |
|
MD5 | c5e0f511c28c67fa173404a8064cc299 |
|
BLAKE2b-256 | 5254643c524388fe36e1fa8eac48ef0fedfc372b30afa9cfc8082f9e9ddefe18 |