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.0a32.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 512f5dedc0e55f9ff44d0be920f5c8d5ab0a8fda2b12084bccf3d72be6f7bd67 |
|
MD5 | 03b60a44668e107a97ded5b7f55c85db |
|
BLAKE2b-256 | c3fe7ea34f8b3fae6d74807a55193179eb5dae7417fab6c34bf4640e305a443e |
Close
Hashes for etherbase_predeployed-1.1.0a32-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4975da211220b8ca37b5e036570e53c622477b1925dd7badb61f1b5a5c63ee4f |
|
MD5 | 15078e86c66f69aa14a5d76106029589 |
|
BLAKE2b-256 | 001a1cf1bdc7f4ed6fbb5a9797bdb0ffcab1daf45c7966f5ac72ba70d5c5cc92 |