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.1a7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bec1bbf68f96bf48d5f897e1f0782f319edc28db1be29ac28f5ecd35d0952009 |
|
MD5 | 6518358f2e72a0a92d1e1a3459696ae7 |
|
BLAKE2b-256 | 8edaf2d75a9d3e457f8c9748ad82dac79681560e0068404b4fedf6d4f0b67058 |
Close
Hashes for etherbase_predeployed-0.0.1a7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 259bcba5cc86687f8a2e0eaa65604d1c18b5949ed92f7e40b0dfac529f50da39 |
|
MD5 | 7ce01a64658fd4dcb372540ae59ebfcd |
|
BLAKE2b-256 | 9cf73a89b726a386699e15904a35062f35cdbde07a33bcca2184c9596eb69dc9 |