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-0.0.1a14.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb9b32762a051444486773693ca8694c3e8951da4cb2e546bcca13e2e82b026c |
|
MD5 | c1ac7860ae98ee0c6fc74b519725ae54 |
|
BLAKE2b-256 | da9eecfccaf068c1b35e9d08e3082bdc367152a21249dcecacda0db6cf2a4fc3 |
Close
Hashes for etherbase_predeployed-0.0.1a14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72abd650f3c7df47f0c03afb42c32d1aad2640eb9b0f0a13af0258f306e19d4c |
|
MD5 | 71ff489059e393a9aaea75c2c2d3b054 |
|
BLAKE2b-256 | ad73f3e0b2ddafffe107fe57c101d982db33357c7a3b4121fb7e2f4827e078e8 |