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.0a20.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d42c2af810820c14de8902f98b6ab4856a542d3a6f579c78aea7edd89410fb7 |
|
MD5 | d2d6d18efb21bcdbdab20135391078a2 |
|
BLAKE2b-256 | 4e19bc50c31b0e831e40a4225cf5245e379c690d2a5893fc086664ad8bbe2fb8 |
Close
Hashes for etherbase_predeployed-1.1.0a20-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0b2d61d2570d23f9328931973acf9e639036655f09ab2017a14d46a2e4b25d4 |
|
MD5 | d34626e1b024b75a1bf216916b56a757 |
|
BLAKE2b-256 | 9f59f891cdf6fdd32b13893692301cc6c2652296f5df76d132629eb87187466d |