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.1a18.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58b65b0ee365c8dfd9a1bb890a692d945f147e7c8e2cb58735c792ca426f31af |
|
MD5 | 0d6fcb2bc7fb68fc419767d75af7d869 |
|
BLAKE2b-256 | a543260b1208c73b16b8c6032c4905d6707736338b2e6f515acef49f0a018b0f |
Close
Hashes for etherbase_predeployed-0.0.1a18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd4a9bc223435e6f063a02db2bd3076ee3abd496eff9bbd9460e10714a267b8c |
|
MD5 | 600d9f5c22db27e32c02bb1706012e76 |
|
BLAKE2b-256 | ba27c6e77a4172ed44b2037a95f73809b08ecc277a4ad099150409147f2c903a |