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.0.0a9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a65933634838023636bc61a9f74af610577e1b3aa24d72336a696842663ed762 |
|
MD5 | a258787272ccda136e236297b643c59b |
|
BLAKE2b-256 | 244d1413179112096266e5487393f3ef244e4a4a23a67a3f853db7e7959f371f |
Close
Hashes for etherbase_predeployed-1.0.0a9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95e61c4ba20628f50e2d36979e69f7027ae601f805b084b6a2b328232ad76254 |
|
MD5 | 57fdbebdcdde9cbddfd183d07fba208f |
|
BLAKE2b-256 | 4995f2369cd606fffadb2d104020d550a2ed2cd78aa107e1c9cd2d9141469c36 |