Coder Social home page Coder Social logo

skynode / two1-python Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 21dotco/two1-python

0.0 3.0 0.0 22.64 MB

The 21 command line interface and two1 bitcoin library. Allows users to send and receive bitcoin over HTTP.

Home Page: https://21.co

License: Other

Python 100.00%

two1-python's Introduction

21: Build the Machine-Payable Web Build Status

21 logo

21 is an open source Python library and command line interface for quickly building machine-payable web services. It allows you to accomplish three major tasks:

  • Get bitcoin on any device
  • Add bitcoin micropayments to any Django or Flask app
  • Earn bitcoin on every HTTP request

The package includes:

  • an HD wallet to securely manage your bitcoin
  • crypto and bitcoin libraries to build bitcoin/blockchain applications
  • a micropayment-channels client and server
  • commands for mining, buying, and earning bitcoin, as well as requesting it from the 21 faucet
  • tools for publishing machine-payable endpoints to the 21 Marketplace
  • containers that allow your machine to sell machine resources for bitcoin

and much more.

Security

Please note that the 21 software is in beta. To protect the security of your systems while using 21, we highly recommend you install the software on a device other than your main laptop (e.g. 21 Bitcoin Computer, an old laptop, or an Amazon Virtual Machine) while the product is still in beta. You can read more security-related information here. Please send an email to [email protected] regarding any issue concerning security.

Installation

Create an account or install the library and CLI (python3.4+ is required):

$ curl https://21.co | sh

two1 can also be installed via pip:

$ sudo pip3 install two1

Start with the command line tool:

$ 21 help

Then read the Introduction to 21 guide and the two1 documentation.

Developers

To edit and run the two1 source code:

$ git clone https://github.com/21dotco/two1-python.git
$ cd two1-python/
$ pip3 install -r requirements.txt  # Install the requirements
$ pip3 install -e .  # Install 21 as an editable python library

Your changes to the source will now be reflected in your system installation in real-time.

Docker

You can pull Docker images with two1 pre-installed from the 21 Docker Hub repository.

$ docker pull 21dotco/two1

Then run the latest base image:

$ docker run -it 21dotco/two1 sh

Community

Join the 21 developer community to chat with other users or to get in touch with support.

Licensing

two1 is licensed under the FreeBSD License. See LICENSE for the full license text.

two1-python's People

Contributors

fathalian avatar kodiegoodwin avatar jianli avatar shayanreza avatar jagranata avatar balajis avatar apty avatar harding avatar saldoukhov avatar andr3whur5t avatar alexchia avatar veerbhan avatar j2kun avatar saivann avatar elihaims avatar pjthomas404 avatar glitch003 avatar ouillie avatar psoto avatar dongcarl avatar corentone avatar enkoder avatar bitstein avatar rumanone avatar

Watchers

James Cloos avatar Obi avatar  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.