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.0a18.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab9cb6b46d841fc0cc7ce3892a17d24c4e19825eb540bdfdcfde8a5ca1d42dfa |
|
MD5 | 6b65b3b3cd7077886b92c66e30107e06 |
|
BLAKE2b-256 | e1a01caf317850c553083109c487af5656a3cefeb170fa4b554bc0b9084ef336 |
Close
Hashes for etherbase_predeployed-1.1.0a18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3aad6af3884d5bcc49f4910055a5e628100acf6ac27117f091663c4612c61347 |
|
MD5 | dcc5a5b037bec46584b2847db6d861f4 |
|
BLAKE2b-256 | dd36226703d9f2e092ed1a44103ad7fea1e904e445e919e751ad0d524352f883 |