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.1a2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15624b320e3e83e7dea5bf31e12b95573e4abb895de03977286d8fbb776c1bb2 |
|
MD5 | a56077b708cb12c32376ba12ce787998 |
|
BLAKE2b-256 | 0fa8cdfedbcd8241789d04b383a0fa935241a4aad16a14b68fd715f0de92cb77 |
Close
Hashes for marionette_predeployed-0.0.1a2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9c217296de6241f4ff6b35cd19199a2b284085de66e87a4b23752433d169efd |
|
MD5 | 3bf93c38aee4f5d9c1594c0ad590099f |
|
BLAKE2b-256 | ca56fac5e02c60464c23433e67c91235558ddcc30183e3c5ec3b77c936bbea1b |