Skip to content

makemake-kbo/macrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

macrypt

Macrypt is a new research blockchain built completely from scratch.

image

How to run

dotnet CLI

To run macrypt with dotnet cli, do

dotnet run

in the root folder.

Visual Studio

Open the project file and run macrypt.

Networking and connecting to other nodes

You can interact with a macrypt node via JSON RPC calls.
For example, to get the latest block you would send a get request like this:

curl http://localhost:6475/api/blocks/latest

Which will give you the latest block in JSON format.

To send transactions you would send a post request like this:

curl -d '{"From":"alice","To":"bob","Amount":100000,"Fee":0}' -H "Content-Type: application/json" -X POST http://localhost:6475/api/add

image

Connecting to other nodes

SOON