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.1a36.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2e44ea665b34dd552fa4e4ddacac82828ef244a5cb94f629b1c3dbbb18cce56 |
|
MD5 | e78e6b6724f61dfb3f9a15bafc14d05c |
|
BLAKE2b-256 | b0bac5c80b95830111b1873e55b9e05a85ef0075820d0459917376686d49f7fe |
Close
Hashes for etherbase_predeployed-0.0.1a36-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 537a9c09fca5dd73b8a0f5e06c45f5e641ade3624b17db1636de6c2c4d6bbc72 |
|
MD5 | c88ea3adea02c9dd729d9b1cea850a0f |
|
BLAKE2b-256 | fbedae7eaea6571445defd48863cae8cec5ab2c794cb271576e0d048726d3251 |