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.1a39.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e92b32803f1c358cfccd40bd5bd7e0d92f2d990126d7c6f318457c274cf22cd2 |
|
MD5 | c422422f06054c449bc68d8891012c51 |
|
BLAKE2b-256 | 6b4765e0cadcb80d0b0d60162a90b3525399ef8bf3032bd954f75ad6ed181856 |
Close
Hashes for etherbase_predeployed-0.0.1a39-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6caf1ce933799369c43329cc4431fcb5d4209b3399921666597b73115c1b46d2 |
|
MD5 | a416d600bbc1387090daf810e1ca14da |
|
BLAKE2b-256 | edb2bd23e0957f21fd243652d44cb3608a915a8723a4485580dfd15678117704 |