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.0a9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 982bd7dd4e640665c081e388d55243fba40865a11ce4913821f57db79e3d9019 |
|
MD5 | 85f156098219a35a707fdd06a075ce90 |
|
BLAKE2b-256 | 4a180be59508a45d001c1996987a51fd7e413166ab260ff0658ee1629156b660 |
Close
Hashes for etherbase_predeployed-1.1.0a9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9455a9122b773d76fd355e03b22c3223149bad218fda0ab40b60ab6f677d9fe9 |
|
MD5 | 17a97517a8ad573482f23aa6d743326d |
|
BLAKE2b-256 | 3d0134c9fc7739f701041391ee1ec0f1f7941fa724e4bed8b99a00c53ea64727 |