Skip to content

CryptoVictor/Testochain

Repository files navigation

screenshot

Testochain

Copyright (c) 2022 Victor Garcia | Special Thanks: David Joseph Katz

Distributed under the MIT software license, see the accompanying

file LICENSE.txt or https://opensource.org/licenses/MIT

Requirements:

Node.js version >= 14.0

Windows version >= 7.0

A cryptocurrency made for test

This system was made by Victor Garcia using the course *Build a Blockchain and Cryptocurrency | Full-Stack Edition* on Udemy by David Katz.

How to make this code run?

To make this code run on your machine, you have to have NodeJs installed, and replace the information in the pubsub.js file, where it says you have to put your credentials there, then you use your credentials from some pubnub account you have , create one if you don't have one, put the credentials there, now you enter in some prompt and go to the folder that the project is located, and now write:

npm run dev

If you want to run other instances of the code on the same machine at the same time, you should run it by writing this text:

npm run dev-peer

Then you go to where the url of it is running, and it will be there, the system running on your pc, using your network. To run on different PCs on the same network, just put the same credentials in the pubnub.js file mentioned earlier and if you already have an instance running, use:

npm run dev-peer 

Now if you're wondering, how to run this code, even if the machine itself doesn't have the code, it's simple, just put your code running on sites like heroku, or whatever you want, and the system will run even if you don't have the code on your machine as it would be running on another machine.

Check-out

Course: https://www.udemy.com/course/build-blockchain-full-stack.

Instructor of the course: https://www.udemy.com/user/54cd8dd54e49b

Official site of this system: https://testochain.000webhostapp.com/