Giter Club home page Giter Club logo

cardano-py's Introduction

ORPHANED PROEJCT - DO NOT NOT USE

though maybe an ok reference

I'm officially stopping my work on this project. It was a lot of fun, but for quite a number of reasons (some personal, others learned) I'll be moving on to work on some new projects (dApps). Thank you to everyone who provided feedback and supported me along the way!

dockeri.co

GitHub issues

CardanoPy

Table of Contents

WARNING: THIS IS A PRE-RELEASE of cardanopy (until it reaches 1.0.0; currently 0.1.7)

Things will:

  • Break
  • Lack documentation
  • Differ greatly between iterations
  • Disorient, overload and inspire

Overview

NOTE: Please visit the Cardano Idealscale link and provide this project Kudos and/or provide feedback!

CardanoPy is a simple and easy to use method to operate and extend Cardano Nodes (Relay and Producer) and DB Sync Nodes using a python CLI combined with docker. It's intended for dApp development and data infrastricture by providing python access to cardano node and onchain data / apis.

Checkout the Project Catalyst - Fund 4 Proposal and Project Catalyst - Fund 5 Proposal.

Also see CLI.md, ROADMAP.md, and CHANGELOG.md.

Problem

Cardano nodes are complex and really should be SIMPLE to bootstrap / extend with your own features / projects using docker / python.

Solution

See Quickstart.

Quickstart

Use predefined docker image cardano-py-slim

See Basic Example for custom docker image example.

  • Install or upgrade cardanopy:

    pip3 install --upgrade cardanopy

  • Create the basic config for testnet:

    cardanopy create --template basic --network testnet files/app

    Created cardano defaults from 'basic' template for network 'testnet': 'files/app'
  • Start/run the node using that config:

    cardanopy docker run files/app

    ada@ce02f129e793:~$
  • Once your logged into the node, run:

    cardanopy node query tip as often as you like.

    NOTE: might take a minute before the files/app/node.socket file to be created while cardano node is booting. It will take longer the larger the database files/app/db.

    {
    "epoch": 126,
    "hash": "bafe78f11866e3b77a254f55c46bd44335b367197db74fb95620237f43fe583d",
    "slot": 24098404,
    "block": 2494291
    }

Core Docker Images

Available on floydcraft dockerhub

CardanoPy

  • cardano-py-slim - Runtime slim build of CardanoPy Cardano node. Preinstalls latest cardanopy package.

Cardano IOHK

Common

  • haskell - base image to build Haskell projects like Cardano.

cardano-py's People

Contributors

chbfiv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cardano-py's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.