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.0a41.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97bce5f85c34f22f78c5df97c041c40c0653b0fc3562ea9e0270c5a5940bead2 |
|
MD5 | 2c153a021001625171fd12d442a6198a |
|
BLAKE2b-256 | 3e42593c221dc399c097a24911dcf815175276c58e855cfea1cf0b2764c5f5bd |
Close
Hashes for etherbase_predeployed-1.1.0a41-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc44e09d60f68949384667ccdf1b200fcc6bb77822b199264f522cfa09559e7a |
|
MD5 | 1246de52a79c99de8377ed921a817d30 |
|
BLAKE2b-256 | 4d6da5eac55167c7dd36d63b533c16d776a57ec3732a1e9a7dc43606e27f4aaf |