Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

etherbase-predeployed

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

etherbase-predeployed

A tool for generating predeployed etherbase smart contract

  • 1.0.0
  • PyPI
  • Socket score

Maintainers
1

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

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc