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,
        )
    }
}

Metadata

Release files for marionette-predeployed 0.0.1.dev7396039426046930444

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.dev7396039426046930444
File Size Uploaded Provenance Actions
marionette-predeployed-0.0.1.dev7396039426046930444.tar.gz 9.6 kB Without provenance Details for marionette-predeployed-0.0.1.dev7396039426046930444.tar.gz

Built distribution (wheel)

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

Total release size: 19.1 kB

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

Download URL marionette-predeployed-0.0.1.dev7396039426046930444.tar.gz
Size 9.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a396b37d32668dc3864b892aacf730a6ebcb0541593230fc63b8c3591147bd96
BLAKE2b-256 checksum
How to use checksums
75262627a54d6859a39106c8e5317cbbb71e36ae81ad90e4878df1ff55e0b41a
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.dev7396039426046930444-py3-none-any.whl

Download URL marionette_predeployed-0.0.1.dev7396039426046930444-py3-none-any.whl
Size 9.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c6d8d695dd0ebc021b6d6342e2f4cbcb5c7463ce722fd6b0db3ffca9f2b1762c
BLAKE2b-256 checksum
How to use checksums
f9a6c9de2c3049f1a0356e5450d0e561af9b4e0a061eeaf69ff0ad4cdbcdde3a
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

Security for marionette-predeployed 0.0.1.dev7396039426046930444

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

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