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.0a15.tar.gz (45.5 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.0a15-py3-none-any.whl (47.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: etherbase-predeployed-1.1.0a15.tar.gz
  • Upload date:
  • Size: 45.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for etherbase-predeployed-1.1.0a15.tar.gz
Algorithm Hash digest
SHA256 d24a421d0be3d52e76851909ae8758d701c8180901fd42d66a187396482c4f8b
MD5 cf76f7a02f9f934c04f82c7e55d172f6
BLAKE2b-256 875269c0e8342cd1b167447f0b301c957092b1a727e608ab324fdd7a8b034c82

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for etherbase_predeployed-1.1.0a15-py3-none-any.whl
Algorithm Hash digest
SHA256 466d3de6f7e23dde4b9ba74c798ef54a2d38b5eb78012e2854a099164bf7891b
MD5 71683f696a630408c48f60408d2462c8
BLAKE2b-256 c8fe91d22c53d91e3a7b34c2b11a5414a55ee1b14a0985deb64a8260e39f962a

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