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.0b3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dec582fc4d3dbb1710f07841db9588f39029ae5ba06da538143f78e1e4bfaaf2 |
|
MD5 | 3431139d598dc7bf2b96fa2419a78d3c |
|
BLAKE2b-256 | 3d3d9e8a9263aced10d2e82058dcb79e0685a5e6db3102a640656eebcfc6a889 |
Close
Hashes for etherbase_predeployed-1.1.0b3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f803f9a9f1cd1582e59f97015c640bc61623d729ae4304bd5ede52e0ec52d5a6 |
|
MD5 | 288c94164103a96c569c184e13b5c557 |
|
BLAKE2b-256 | 13a06dc9d7d0244648d6e7e183869317b1cdabc24da07b2799d00a3cf90d63ce |