Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/falcucci/hedera-coin
A decentralized cryptocurrency platform that can be used to make payments, store value, and provide a secure way to transfer digital assets.
https://github.com/falcucci/hedera-coin
blockchain golang
Last synced: about 2 months ago
JSON representation
A decentralized cryptocurrency platform that can be used to make payments, store value, and provide a secure way to transfer digital assets.
- Host: GitHub
- URL: https://github.com/falcucci/hedera-coin
- Owner: falcucci
- License: apache-2.0
- Created: 2019-08-08T17:11:24.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-10-11T14:37:13.000Z (almost 2 years ago)
- Last Synced: 2024-07-03T12:07:59.664Z (3 months ago)
- Topics: blockchain, golang
- Language: Go
- Homepage:
- Size: 161 KB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HederaCoin API
This application is responsible for provide wallet informations to HederaCoin clients and integrate to HederaCoin Payments API.
## Table of contents
- [Table of contents](#Table-of-contents)
- [Installing](#Installing)
- [Environment Variables](#Environment-Variables)
- [Building](#Building)
- [Running](#Running)
- [Deploying](#Deploying)## Installing
Assuming that you have already cloned the project and the
[Go](https://golang.org/doc/install) is installed, the first
step is install the [dep](https://github.com/golang/dep) and
ensure that all dependencies are vendored in the project:```sh
$ dep ensure
```## Environment Variables
```
Variable | Type | Description
----------------------------- | ------- | ---------------------------------------------------------
DATABASE_HOST | string | Database host
DATABASE_PORT | string | Database port
DATABASE_NAME | string | Database name
DATABASE_PASSWORD | string | Database Password
DATABASE_USERNAME | string | Database username
PRIVATE_KEY | string | Hedere private key of current user account
TARGET_ACCOUNT | integer | Hedera account ID which will receive the transfer ammount
DATABASE_MAX_IDLE | integer | Database max idle value
DATABASE_IDLE_TIMEOUT | integer | Database idle timeout value
HEDERACOIN_PAYMENT_URL | integer | HederaCoin Payment URL
HEDERACOIN_PAYMENT_TIMEOUT | integer | HederaCoin Payment Timeout
DATABASE_MAX_CON | integer | Database max. connections
```## Building
Build project:
```sh
$ make build
```## Running
Start the app consumer:
```sh
$ make start
```## Deploying
Deploy application to Teresa:
```sh
$ bash ./scripts/deploy.sh -f
```