Git Product home page Git Product logo

js-ethereum-libp2p's Introduction

js-ethereum-libp2p

Coverage Status Travis CI Circle CI Dependency Status js-standard-style

Get the ethereum blockchain in the Browser or in a Node.js process using libp2p and run through it using ethereum-vm. This is the humble starts of getting a full ethereum node running in JavaScript that can interact with the rest of the network.

BEWARE BEWARE BEWARE

This module is a work in progress! So beware of dragons! 🐲 πŸ‰

Description

Example

Usage

Install

API

Ethereum Node Class: Ethereum.Node

Create an Ethereum Node: const eth = new Ethereum.Node()

Start the node: eth.start([PeerInfo], callback)

Stop the node: eth.stop(callback)

libp2p: eth.libp2p

See ipfs/js-libp2p-ipfs for documentation.

BlockChain: eth.blockchain

Synchronize (fetch) the latest state of the blockchain eth.blockchain.sync([PeerInfo], callback)

Synchronizes the BlockChain, fetching every block in the network.

Virtual Machine eth.vm

Instance of ethereumjs-vm, see ethereumjs/ethereumjs-vm for docs.

Blocks

WIP

Send a block

Broadcast a block

Transactions

WIP

Send a transaction

Broadcast a transaction

License

MIT Β© David Dias

js-ethereum-libp2p's People

Contributors

daviddias avatar

Watchers

James Cloos avatar

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.