Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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

PROXY_ADMIN_ADDRESS = '0xd200000000000000000000000000000000000000'
MAINNET_OWNER_ADDRESS = '0xd200000000000000000000000000000000000001'
SCHAIN_OWNER_ADDRESS = '0xD200000000000000000000000000000000000002'
MESSAGE_PROXY_FOR_SCHAIN_ADDRESS = '0xd200000000000000000000000000000000000003'

marionette_generator = UpgradeableMarionetteGenerator()

genesis = {
    # genesis block parameters
    'alloc': {
        **marionette_generator.generate_allocation(
            contract_address=MARIONETTE_ADDRESS,
            implementation_address=MARIONETTE_IMPLEMENTATION_ADDRESS,            
            proxy_admin_address=PROXY_ADMIN_ADDRESS,
            schain_owner=MAINNET_OWNER_ADDRESS,
            marionette=MARIONETTE_ADDRESS,
            owner=SCHAIN_OWNER_ADDRESS,
            ima=MESSAGE_PROXY_FOR_SCHAIN_ADDRESS,
        )
    }
}

Release files for marionette-predeployed 0.0.1.dev7390832547085970485

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for marionette-predeployed 0.0.1.dev7390832547085970485
File Size Uploaded
marionette-predeployed-0.0.1.dev7390832547085970485.tar.gz 9.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for marionette-predeployed 0.0.1.dev7390832547085970485
File Interpreter ABI Platform
marionette_predeployed-0.0.1.dev7390832547085970485-py3-none-any.whl Python 3 none any Details

Total release size: 19.1 kB

Release files / marionette-predeployed-0.0.1.dev7390832547085970485.tar.gz

Download URL marionette-predeployed-0.0.1.dev7390832547085970485.tar.gz
Size 9.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0db1edf9be5713d463a3c68e94aa5ea2973a33fcd62c6eda8b3df75bf06073f1
BLAKE2b-256 checksum
How to use checksums
cceb8a3f8103faa8d9b41075c1e7d0bc10850e9887d46c608875aa3f80c28510
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Release files / marionette_predeployed-0.0.1.dev7390832547085970485-py3-none-any.whl

Download URL marionette_predeployed-0.0.1.dev7390832547085970485-py3-none-any.whl
Size 9.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1a24d9c0229433d6c6eeca128c7198366638ecf147cbe7b9ddae86493d0e0bae
BLAKE2b-256 checksum
How to use checksums
1660b33bbdff2db4abd2b8f0b03a3e6d9541d52a0bc4b3756a4f46eee0e3b386
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Release history Release notifications | RSS feed

1.0.0

2 release files

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page