Skip to main content

A tool for generating predeployed etherbase smart contract

Project description

etherbase-predeployed

Description

A tool for generating predeployed etherbase smart contract

Installation

pip install etherbase-predeployed

Usage example

from etherbase_predeployed import  UpgradeableEtherbaseUpgradeableGenerator, ETHERBASE_ADDRESS, ETHERBASE_IMPLEMENTATION_ADDRESS

OWNER_ADDRESS = '0xd200000000000000000000000000000000000000'
PROXY_ADMIN_ADDRESS = '0xd200000000000000000000000000000000000001'

etherbase_generator = UpgradeableEtherbaseUpgradeableGenerator()

genesis = {
    # genesis block parameters
    'alloc': {
        **etherbase_generator.generate_allocation(
            contract_address=ETHERBASE_ADDRESS,
            implementation_address=ETHERBASE_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

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file etherbase-predeployed-0.0.1.dev8623730274384294651.tar.gz.

File metadata

  • Download URL: etherbase-predeployed-0.0.1.dev8623730274384294651.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for etherbase-predeployed-0.0.1.dev8623730274384294651.tar.gz
Algorithm Hash digest
SHA256 7aaf352613018e35ab2446a9dc2f42d2b665e474397c33ed1ccbccd7e79246c1
MD5 ee977c58a8b4673c275899ecf8972f39
BLAKE2b-256 2beaef1eca5a61b8c37282176d7d3584800d8035ad034e895c5fe9d57fa31709

See more details on using hashes here.

File details

Details for the file etherbase_predeployed-0.0.1.dev8623730274384294651-py3-none-any.whl.

File metadata

File hashes

Hashes for etherbase_predeployed-0.0.1.dev8623730274384294651-py3-none-any.whl
Algorithm Hash digest
SHA256 2299628d8a3833283ca819dee1bbf0460d4796845540d999c0cc211a1d1b7eb1
MD5 2133f8e42d6cc4fdfbc9b4d083c6f9f1
BLAKE2b-256 bb31f0d7b55c46345c820a7f5269c18b722675b7c31a1f13fed4fbe0cfcfd8fc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page