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.0a44.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b15d8cd1579434d900969e0bc94a10cd6fada53fbf82c30a8d2e8c9d5a7658d4 |
|
MD5 | be496abc1727ec03a70e219214ed985f |
|
BLAKE2b-256 | eeadcf9b8f83937b2740677e73eabcece91b896a8377baa607a0a880c9dc5905 |
Close
Hashes for etherbase_predeployed-1.1.0a44-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4fc4ad67a911d3e6dd619a042eb618af284b85652ece770371cca6fbc2007f4 |
|
MD5 | a0aad717ed859efb1b726fab7e7599ab |
|
BLAKE2b-256 | d3c40cb42522c888a2a516732e892f6c0e0025715a4fcb4109441c509ad97f91 |