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

etherbase-predeployed-1.1.0a91.tar.gz (62.2 kB view details)

Uploaded Source

Built Distribution

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

etherbase_predeployed-1.1.0a91-py3-none-any.whl (63.0 kB view details)

Uploaded Python 3

File details

Details for the file etherbase-predeployed-1.1.0a91.tar.gz.

File metadata

  • Download URL: etherbase-predeployed-1.1.0a91.tar.gz
  • Upload date:
  • Size: 62.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for etherbase-predeployed-1.1.0a91.tar.gz
Algorithm Hash digest
SHA256 836a5fb817bfeef9d81b73caaec0f419a08f204f167fbb8205a5b5f78c17bb2b
MD5 fd81d88f6bb7eb2fa7dc941617d0961a
BLAKE2b-256 b5f6437668bb7afafda295cf13ab9e4ec14c584056adf5d3923682d668a959e2

See more details on using hashes here.

File details

Details for the file etherbase_predeployed-1.1.0a91-py3-none-any.whl.

File metadata

File hashes

Hashes for etherbase_predeployed-1.1.0a91-py3-none-any.whl
Algorithm Hash digest
SHA256 0eae7e77f88c45a49baaea657fdfbab53268f90431611ef2b61749f2655c03e2
MD5 0f91cad7759d2b8a6bbc7360a64085b1
BLAKE2b-256 7e236d15ad014ab5ffd049db6658c6f35a43572f461ccb6a0d76331f88ba8373

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