A tool for generating predeployed marionette smart contract
Project description
marionette-predeployed
Description
A tool for generating predeployed marionette smart contract
Installation
pip install marionette-predeployed
Usage example
from marionette_predeployed import UpgradeableMarionetteGenerator, MARIONETTE_ADDRESS, MARIONETTE_IMPLEMENTATION_ADDRESS
OWNER_ADDRESS = '0xd200000000000000000000000000000000000000'
PROXY_ADMIN_ADDRESS = '0xd200000000000000000000000000000000000001'
marionette_generator = UpgradeableMarionetteGenerator()
genesis = {
# genesis block parameters
'alloc': {
**marionette_generator.generate_allocation(
contract_address=MARIONETTE_ADDRESS,
implementation_address=MARIONETTE_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 marionette-predeployed-0.0.1a1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a05558d451321f2bfa556472557bdfac716427d9c26ca510cb20aa61dcb502a |
|
MD5 | 932761a3a16fd4d3f79ad2f7d9976320 |
|
BLAKE2b-256 | f6933253ac73f0270ec9ce6fede670241389fed1a8e79984848e43eefca58288 |
Close
Hashes for marionette_predeployed-0.0.1a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4009fd81a7eb4da00dbc50f7592c354e7579b222a797cc0d4fdc8873328ff49 |
|
MD5 | cee7b87c40b48a1a4169adff20199c32 |
|
BLAKE2b-256 | f8436d920364cf1335f4c6d92b45e9bf7ec490467bd0905a30141b1f41f18867 |