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.1a11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5061fc003c4d9a7297a0bd41f9915231f8e7494eeab8a7d12d1a13ec18ba8c48 |
|
MD5 | 20e1796bea768ed0d6affa384fa4ecbf |
|
BLAKE2b-256 | 153bf19b928c9d842fe250d9ccaea40c3cb134c50f677d4cc952470fcb13c57d |
Close
Hashes for etherbase_predeployed-0.0.1a11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2f77bafc316e9fcd41e98b9adce82a165063c22bf5172abf0b54fff63faf76e |
|
MD5 | 74e64c19af6ffeffdb157ada387baca7 |
|
BLAKE2b-256 | 8d79b493b95f635dc300beeb8c4cb4f066f209493fc4be73acbfa62177d38714 |