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.0a25.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 549821411337a115e1da7573420b020e37a20741a6e272adcc832aee6d08a906 |
|
MD5 | cb97f892b10ec5ea1444f5ff5101efb1 |
|
BLAKE2b-256 | 1d920a3ff1b2f833a05dba4b8f536f7708599e5621c4bbd5209b813565630c07 |
Close
Hashes for etherbase_predeployed-1.1.0a25-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b40ec038e24ba9a30e3532aec24791d240c7d1f8cd2e49c23b2efb041a195017 |
|
MD5 | 40bf2931057bb786e72630bbc15dd11b |
|
BLAKE2b-256 | 3132e0d44cfaa11ea58b28d3e172ec70e73d05f1cc572911a68f75c64e1aaee3 |