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

blockchain-lab

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blockchain-lab

A fully functional blockchain lab.

  • 0.9.0
  • PyPI
  • Socket score

Maintainers
2

Blockchain Lab | Open In Colab Open in Cloud Shell

A fully functional blockchain lab.

Install

pip3 install blockchain_lab

Using

In another script

You can give these parameters in blockchain_lab()

  • Node number with "node_number"
  • Security circle number with "security_circle_number"
  • Path with "path"

Docker | Create & Delete

from blockchain_lab import blockchain_lab

blockchain_lab().create_docker()
from blockchain_lab import blockchain_lab

blockchain_lab().delete_docker()

Local | Create & Delete

from blockchain_lab import blockchain_lab

blockchain_lab().create_local()
from blockchain_lab import blockchain_lab

blockchain_lab().delete_local()

Status

from blockchain_lab import blockchain_lab

blockchain_lab.status()

Test with a transaction

from blockchain_lab import blockchain_lab

blockchain_lab.send_transaction(receiver = "naruno", amount = 5000, data = "blockchain-lab")

In command line

You can give these parameters in command line arguments of create and delete functions.

  • Node number with "-nn" or "--nodenumber"
  • Security circle number with "-scn" or "--securitycirclenumber"
  • Path with "-p" or "--path"

Docker | Create & Delete

blockchain_lab_create_docker
blockchain_lab_delete_docker

Local | Create & Delete

blockchain_lab_create_local
blockchain_lab_delete_local

Status

blockchain_lab_status

Test with a transaction

blockchain_lab_send_transaction -r naruno -a 5000 -d blockchain-lab

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