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.0a61.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4dff3c1bf606d3880b55f8c2c7c999e3370cfa330c74f93eec5f2c9ecc3b80ac |
|
MD5 | 732b6f454dff5de5aa21b5dcc01f88fc |
|
BLAKE2b-256 | 76615c95cdcaed84173930a943a7f29743db089a544760162eaed5ae718e8c32 |
Close
Hashes for etherbase_predeployed-1.1.0a61-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdd75ddbffc2e4ccc3768ed7d0c8ad9eb9ed556d965d5dd71d39613ee1b61fc7 |
|
MD5 | 9714e8dd1ab728a06c6a83161ccd1725 |
|
BLAKE2b-256 | cba9b90b387009f147cda3b47a375cf77a139f865b234bd0c28ed1036d892670 |