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.0a71.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8e95f75dc1c8e431f0d43648f90cbffea9fe32c9161ea01805c9d0b6ef49c6c |
|
MD5 | e7286fb73f7d84a1a1d96e7d13937261 |
|
BLAKE2b-256 | edf22d0d5fd04ec0d773aa86d388b7c195c202413c25e77a8bc89db371496804 |
Close
Hashes for etherbase_predeployed-1.1.0a71-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d2fbe1f37d4206a1e1ab68100bb45040f233490279abf4a3462f916aaca2600 |
|
MD5 | cb52987b8dab4c45252de115ee67b58a |
|
BLAKE2b-256 | 1e055899f2288c765ead1121c83e8bba4881fe06f47a3dc7a4647203db0ecc53 |