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.1a9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24dfe0cacde1842705e39a15a6a72a0a07a7b7ba80a471c1a39a71e6b99fbf36 |
|
MD5 | 26f9bb88079cd49a9bd58c41e2c25da5 |
|
BLAKE2b-256 | 266d0d6543fa3918ca91d6c7267487f4d67c0f0f06ec5b60862fc41ef5218457 |
Close
Hashes for etherbase_predeployed-0.0.1a9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6350e423bfec6e555896a174082eca2305308125f742d601b3923ffbcd9a0249 |
|
MD5 | 743aa24071fa1a83b8ec1515ef9fb573 |
|
BLAKE2b-256 | d1af803cbca759d6d3ac984ce552d8fc753a58ba5933da0492d21e72e1e683be |