All Projects → DE-labtory → Koa

DE-labtory / Koa

Licence: apache-2.0
The koa is a high-level language that has more expressions than the bitcoin script and is simpler and easy to analyze

Programming Languages

go
31211 projects - #10 most used programming language
language
365 projects

Projects that are alternatives of or similar to Koa

Koot
Koot是基于React和Koa的WEB全栈技术解决方案。
Stars: ✭ 59 (-11.94%)
Mutual labels:  koa
Thorify
A web3 adaptor for VeChain Thor RESTful HTTP API.
Stars: ✭ 62 (-7.46%)
Mutual labels:  blockchain
Blocksci
A high-performance tool for blockchain science and exploration
Stars: ✭ 1,127 (+1582.09%)
Mutual labels:  blockchain
Scp zh
恒星共识协议中文翻译
Stars: ✭ 59 (-11.94%)
Mutual labels:  blockchain
Vue Socket.io Chat
💬 TypeScript + Vue + Express/Koa + Socket.io
Stars: ✭ 61 (-8.96%)
Mutual labels:  koa
Exonum Client
JavaScript client for Exonum blockchain
Stars: ✭ 62 (-7.46%)
Mutual labels:  blockchain
Scatter
Scatter is an in-browser ( extension ) wallet for EOS which facilitates interaction between users and dapps.
Stars: ✭ 59 (-11.94%)
Mutual labels:  blockchain
Spacex Api
🚀 Open Source REST API for SpaceX launch, rocket, core, capsule, starlink, launchpad, and landing pad data.
Stars: ✭ 8,973 (+13292.54%)
Mutual labels:  koa
Waykichain
Public Blockchain as a Decentralized Finance Infrastructure Service Platform
Stars: ✭ 1,117 (+1567.16%)
Mutual labels:  blockchain
The Journal Of Blockchain
区块链自媒体、专注区块链技术学习和实践、IPFS/Filecoin、Bitcoin、Ethereum、EOS、Cosmos、区块链、白皮书、Coinmarketcap、Coindesk、Safe Network、Telegram、Docker、社会治理、经济激励
Stars: ✭ 63 (-5.97%)
Mutual labels:  blockchain
Savjeecoin
A simple blockchain in Javascript. For educational purposes only.
Stars: ✭ 1,097 (+1537.31%)
Mutual labels:  blockchain
Simplechain
⛓✨ Interactive blockchain built with Node.js
Stars: ✭ 61 (-8.96%)
Mutual labels:  blockchain
Blockstack Browser
The Blockstack Browser
Stars: ✭ 1,119 (+1570.15%)
Mutual labels:  blockchain
Shitaibin.github.io
博客:Go语言、区块链
Stars: ✭ 59 (-11.94%)
Mutual labels:  blockchain
Web Sdk
Portis Web SDK
Stars: ✭ 65 (-2.99%)
Mutual labels:  blockchain
Coinonline
A Cryptocurrency/Blockchain wallet app based on React Native
Stars: ✭ 59 (-11.94%)
Mutual labels:  blockchain
Blog
个人博客 📖
Stars: ✭ 62 (-7.46%)
Mutual labels:  koa
Create Near App
Create a starter app hooked up to the NEAR blockchain
Stars: ✭ 66 (-1.49%)
Mutual labels:  blockchain
Blog
📚 专注Web与算法
Stars: ✭ 1,140 (+1601.49%)
Mutual labels:  koa
Weave
Easy-to-use SDK to build Tendermint ABCI applications
Stars: ✭ 1,122 (+1574.63%)
Mutual labels:  blockchain

koa

Build Status License Language Coverage Status

The project is inspired by the simplicity and the ivy-bitcoin.

The koa project is to create a high-level language that has more expressions than the bitcoin script and is simpler and easy to analyze than soldity(ethereum).

A more detailed explanation is given below.

Also, koa project is published in Mobisys 2019! You can see the paper and poster below.

Title: "Demo: Light-Weight Programming Language for Blockchain"

Architecture

koa architecture

  • Lexer
  • Parser
  • Compiler
  • VM

Language Specification

Primitive Type

  • Integer

    It is expressed in int. Integer size is 64 bytes.

  • String

    It is expressed in string.

  • Boolean

    It is expressed in true or false.

Operators

  • Arithmetic

    We support +, -, *, /, % only for integer.

  • Comparison

    We support ==, !=, >, <, >=, <= for comparsion.

  • Logical

    We support &&, || for logical operation.

  • Prefix

    We support !, - for prefix operator.

Condition

It is expressed in if(){} or if(){}else{}.

Etc

  • return
  • \n : All statements should end in \n.
  • Assign : It is expressed in =.

Example Code

contract {
 func Sig(sig string){
   string pubkey = "fvfidBGruUYC+mTw7CusaCOQbBuZBiYduFgH8hRW97KLmHn0xzB1FV++KI7syo8qXGo8Un24WP40IT78XjKO"
   
   if checkSig(pubkey, sig){
     return true
   }
   return false
 }
}

Contribution

Contribution Guide CONTRIBUTION

License

Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE.

CLA Hub

To get started, sign the Contributor License Agreement.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].