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.0a36.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91280623019ad30f235867ff80bc6b6a4fcc611572fdfef12932bd6e7cc5ed2c |
|
MD5 | c02a4ce4177d1c8308ec014ab1956045 |
|
BLAKE2b-256 | d104516234c9ee6beb4ce50974bbc4865a87500ec220bf0fefcb79e1a0dc007b |
Close
Hashes for etherbase_predeployed-1.1.0a36-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc62748d772f98f317ab8040551c8ff1dc778c878a8c5f406d166fa0cef54200 |
|
MD5 | 958107624ebce9681440ea3b798395d5 |
|
BLAKE2b-256 | d49544e8c85629ba328fd1b09a8d3c2d11585f5b761a2ec0cdbab5a25bc76dbf |