fsn-dev / cryptoCoins

Transaction builders for the DCRM service

Home Page:https://fsn.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add support for new cryptocurrency

1.

Build a package in src/go, and write your code in it. You are supposed to define a struct that implements the interface CryptocoinHandler. You can find the interface definition in src/go/api.go. Configuration constants such as the urls of gateways should be defined in package src/go/config.

2.

Append a key-value pair of the cryptocoin name and its reg address/accouont pattern into RegExpmap in validAddress.go.

3.

Register new transaction handler in src/go/api.go. Insert the constructor of your transaction handler in the switch-case statement.

About

Transaction builders for the DCRM service

https://fsn.dev/

License:Apache License 2.0


Languages

Language:Go 55.8%Language:C 36.0%Language:Assembly 3.1%Language:Java 1.6%Language:Sage 1.6%Language:M4 1.4%Language:Makefile 0.3%Language:Shell 0.0%Language:Solidity 0.0%