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.1a0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a3f309699bed26888da0a9e94f80e5c58c24f93fb188a3ee881a141caf64a9c |
|
MD5 | 2326a5a147d2851dacb2c042b4abe369 |
|
BLAKE2b-256 | 54200dc43219ba62c9a204e3e2921254fc4667a82a18cf0055be230a29bf2b82 |
Close
Hashes for marionette_predeployed-0.0.1a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6abd5ab8790ebc7bdda180e574cf3453100c11c03f100b9ee4bad9f5191dd225 |
|
MD5 | 0faa981eba07ba17bbaf3dffe41c32c1 |
|
BLAKE2b-256 | fb82f34f2ee8a62a3628a3ff6cc378edadb44583e04592f538df11e274252555 |