Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/gallettilance/ats-blockchain

⛓️ Blockchain + Smart contracts from scratch
https://github.com/gallettilance/ats-blockchain

ats-lang blockchain blockchain-demo commandline-interface functional-programming interpreter lambda-calculus lisp parser programming-language smart-contract-platform smart-contracts

Last synced: 29 days ago
JSON representation

⛓️ Blockchain + Smart contracts from scratch

Awesome Lists containing this project

README

        

# ATS-Blockchain

[![Build Status](https://travis-ci.org/galletti94/ATS-blockchain.svg?branch=master)](https://travis-ci.org/galletti94/ATS-blockchain)
[![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)

Blockchain, Smart Contract, and Database implementation in ATS

![example](gif/tty.gif)

## About

The CLI is currently to be used in the following way:

1. define miners/users
2. make transactions (valid or otherwise)
3. write/execute smart contract
4. write/execute queries
5. decide who will mine the next block
6. view the balance of users
7. view the blockchain and/or repeat from 1/2

The full report is online. Part 1 is [here](https://beta.observablehq.com/@galletti94/functional-blockchain) and part 2 is [here](https://beta.observablehq.com/@galletti94/functional-blockchain-part-2).

## Running the application

Currently only supported on Linux. After installing [ATS](http://www.ats-lang.org/) and cloning the repo, simply run

```shell
cd ATS-blockchain
git clone https://github.com/ashalkhakov/colorado.git
make regress
```

------

Pull requests are welcome!