GithubHelp home page GithubHelp logo

baby636 / cashaddr-converter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zquestz/cashaddr-converter

1.0 0.0 0.0 255 KB

Go service for converting between address formats

License: MIT License

Go 55.90% Makefile 0.63% HTML 5.29% CSS 13.75% JavaScript 23.76% Dockerfile 0.67%

cashaddr-converter's Introduction

CashAddr Converter

This repository is a go implementation of the cashaddr and copay Bitcoin Cash address formats. The intent is to provide a command line tool, a reference implementation, and a microservice for use by the Bitcoin Cash community.

Prerequisites

The following are only required for make image and make run.

Install docker: https://docs.docker.com/engine/installation/linux/docker-ce/

Add your user to the docker group: sudo usermod -aG docker ${USER} and reload the group: newgrp docker

Building

Run make to obtain addrconv and svc binaries. Run make image to obtain a docker image of the service which listens on port 3000. Run make run to run the service.

Packages

cmd/addrconv

addrconv is a basic command line tool for converting between address formats.

cmd/svc

svc is a small microservice which will convert a provided address into all three currently used Bitcoin Cash address formats.

cashaddress

Allows for encoding and decoding cashaddresses

legacy

Allows for encoding and decoding legacy addresses (including copay).

address

Provides a generic struct which allows decoding and encoding into cashaddress, legacy, and copay formats.

static

Static HTML assets required by the cmd/svc's optional main page. The javascript interacts with the provided api.

References

cashaddr-converter's People

Contributors

schancel avatar akb avatar zquestz avatar jasonbcox avatar hanchon avatar j-a-m-e-5 avatar

Stargazers

kristof kaehler 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.