Digital-Currency logo

Digital-Currency

  •  0 ratings
In category: Miscellaneous

About Digital-Currency

Create your own Self-Hosted Digital Currency.

  •   387  
  •   0  
  •   0  
  •   0  
Github stats:
  •  Commits: N/A  
  •   N/A  
  •   N/A  
  •  Latest commit: N/A  

Deploy this app to Linode with a free $100 credit!

Languages/Platforms/Technologies:
Lincenses:

More about Digital-Currency

Twitter Follow GitHub stars


PLEASE NOTE

This is an early version of the final Web App. DEMO WEBSITE : https://tonken.glitch.me/

Digital-Currency

Create your own private Self-Hosted Digital Currency. This Web App require MongoDB

1 - Clone the repo

git clone https://github.com/Icesofty/Digital-Currency.git

2 - Install it

npm i 

You need to create a .env file into the root folder and put SECRET=YOUR_SUPER_SECRET_PHRASE_HERE in it

3 - Launch it

node app.js
Server started at port 3000

Access it on http://localhost:3000/

4 - Customize it

You can change the demo-1.ejs and the demo-2.ejs file if you want to. If you do so, don't forget to change the content on home.ejs (Lines 130 to 145).

You can also customize your app.js : Color theme

const colorTheme = 'purple';

Default amount of Currency when a new user register (recommend 0)

const defaultTokens = 50;
Name and symbol of your Currency
const nameOfYourToken = 'Tonken';
const tokenSymbol = 'TKN';
Public or private currency
const publicRegister = true;
Name of your MongoDB
const nameDB = 'tonkenDB';

Creating Admin user

You need to create an Admin user. Change the value of admin: false to true on the users collection in MongoDB

{
    "_id" : ObjectId("5e2d57b1a0c1870e6c736d16"),
    "username" : "Icesofty",
    "email" : "example@example.com",
    "tokens" : 50,
    "admin" : true,
    "salt" : "...",
    "hash" : "...",
    "__v" : 0
}
You can then access your admin panel here : http://localhost:3000/admin

Comments (0)

Please login to join the discussion on this project.

Digital-Currency Reviews (0)

Overall Rating

None

based on 0 ratings

Please login to review this project.

No reviews for this project yet.

↑ back to top

pCloud Lifetime

Popular Projects

FluxBB

in Social Networks and Forums
 33k    0    0    0  

Nextcloud

in File Transfer & Synchronization
 20k    1    1    0  

Libreddit

in Social Networks and Forums
 6k    0    1    0  

CasaOS

in Self-hosting Solutions
 5k    0    0    0  

Dashboard

in Personal Dashboards
 5k    0    0    0  

Audiobookshelf

in Audio Streaming
 5k    0    1    0  

Mediagoblin

in Photo and Video Galleries
 4k    0    0    0  

Most Discussed

Nextcloud

in File Transfer & Synchronization
 20k    1    1    0  

Tube Archivist

in Automation
 3k    0    1    0  

OneDev

in Project Management
 2k    0    0    0  

iodine

in Proxy
 2k    0    0    0  

Alf.io

in Booking and Scheduling
 2k    0    0    0  

sysPass

in Password Managers
 994    0    0    0  

Misskey

in Social Networks and Forums
 2k    0    0    0  
Linux VPS from $11/yr.
RackNerd VPS for $11.38/mo

Top Rated Projects

Gitea

 1 rating
in Project Management

Bagisto

 1 rating
in E-commerce

LinkAce

 1 rating
in Bookmarks and Link Sharing

Pydio

 1 rating
in File Transfer & Synchronization

Audiobookshelf

 1 rating
in Audio Streaming

Nextcloud

 1 rating
in File Transfer & Synchronization

Seafile

 1 rating
in File Transfer & Synchronization

Categories

You May Also Be Interested In

graph-vl logo
graph-vl cover

graph-vl

Identity document verification using Machine Learning and G…

Journal logo
Journal cover

Journal

Simple journaling with encrypted entries and sharing capabi…

Apache Solr logo
Apache Solr cover

Apache Solr

Solr is the popular, blazing-fast, open source enterprise s…