An open API service indexing awesome lists of open source software.

https://github.com/makemake-kbo/macrypt

Macrypt is a research blockchain built completely from scratch.
https://github.com/makemake-kbo/macrypt

blockchain crypto cryptocurrency cryptography csharp dotnet-cli proof-of-work

Last synced: 3 months ago
JSON representation

Macrypt is a research blockchain built completely from scratch.

Awesome Lists containing this project

README

          

# macrypt
Macrypt is a new research blockchain built completely from scratch.

![image](https://user-images.githubusercontent.com/55022497/121734995-cffa0780-caf5-11eb-914a-86639e49de08.png)

## How to run

### dotnet CLI

To run macrypt with dotnet cli, do
```shell
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:
```shell
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:
```shell
curl -d '{"From":"alice","To":"bob","Amount":100000,"Fee":0}' -H "Content-Type: application/json" -X POST http://localhost:6475/api/add
```
![image](https://user-images.githubusercontent.com/55022497/121389181-6f7b9680-c94c-11eb-9f90-49f7a4701094.png)

### Connecting to other nodes
*SOON*