All Projects → omnilaboratory → OmniBOLT-spec

omnilaboratory / OmniBOLT-spec

Licence: MIT License
Facilitate smart assets circulation and exchange in Lightning Network.

Projects that are alternatives of or similar to OmniBOLT-spec

obd
OmniBOLT daemon, a golang implementation of OmniBOLT spec, the smart assets lightning network.
Stars: ✭ 34 (-10.53%)
Mutual labels:  lightning-network, bitcoin-payment, stablecoin-payments
LNTopology
A tool to analyze the topology of Bitcoin's Lightning Network
Stars: ✭ 19 (-50%)
Mutual labels:  lightning-network, payment-channel
fair
Fairlayer node in JS
Stars: ✭ 80 (+110.53%)
Mutual labels:  lightning-network, payment-channel
Lightning-Network-Simulator
Lightning Network Simulator
Stars: ✭ 24 (-36.84%)
Mutual labels:  lightning-network
LightningBuddy
Twitter Client for Lightning JSON-RPC interface
Stars: ✭ 38 (+0%)
Mutual labels:  lightning-network
lightning-browser-extension
The Bitcoin Lightning Browser extension that connects to different wallet interfaces and brings deep lightning integration to the web
Stars: ✭ 194 (+410.53%)
Mutual labels:  lightning-network
trustedcoin
A lightningd plugin that replaces your own Bitcoin Core node with trusted public explorers.
Stars: ✭ 24 (-36.84%)
Mutual labels:  lightning-network
kwh
webln browser extension for lightningd/eclair/ptarmigan
Stars: ✭ 26 (-31.58%)
Mutual labels:  lightning-network
rawtxapp
⚡️A lightning network wallet (https://rawtx.com).
Stars: ✭ 56 (+47.37%)
Mutual labels:  lightning-network
Lightning-Network
List of Lightning Network technical issues, bugs, flaws, and exploits.
Stars: ✭ 64 (+68.42%)
Mutual labels:  lightning-network
LNnodeInsight
A DYOR engine for the Bitcoin Lightning Network
Stars: ✭ 16 (-57.89%)
Mutual labels:  lightning-network
boltz-frontend
Frontend of Boltz
Stars: ✭ 18 (-52.63%)
Mutual labels:  lightning-network
bitpocket-mobile-app
Mobile app for accepting bitcoin payments at the point of sale (Bitcoin POS).
Stars: ✭ 26 (-31.58%)
Mutual labels:  bitcoin-payment
lnd-routing
Lightning network liquidity service
Stars: ✭ 16 (-57.89%)
Mutual labels:  lightning-network
agora
File server that accepts Lightning Network payments for downloads
Stars: ✭ 137 (+260.53%)
Mutual labels:  lightning-network
lnd-binary
Install lnd from npm https://github.com/lightningnetwork/lnd ⚡️
Stars: ✭ 18 (-52.63%)
Mutual labels:  lightning-network
LEDNet
This is an unofficial implemention of LEDNet https://arxiv.org/abs/1905.02423
Stars: ✭ 37 (-2.63%)
Mutual labels:  lightning-network
bitcoin-on-twitch
Bitcoin on Twitch: Accept Bitcoin donations on Twitch, and integrate them into your alerts!
Stars: ✭ 25 (-34.21%)
Mutual labels:  lightning-network
storm-spec
Specification for Storm: L2/L3 distributed storage and messaging with economic incentivisation leveraging LNP/BP ecosystem
Stars: ✭ 62 (+63.16%)
Mutual labels:  lightning-network
simple-payment-channel
Example code leveraging a simple one-way payment channel
Stars: ✭ 32 (-15.79%)
Mutual labels:  lightning-network

OmniBOLT: Facilitates smart assets lightning transactions

Based on the fundamental theory of Lightning network, OmniBOLT specification describes how to enable OmniLayer assets to be circulated via lightning channels, and how can smart assets benefit from this noval quick payment theory.

In addition, OmniBOLT provides more flexible contracts for upper layer decentralized applications. OmniBOLT daemon is a golang implementation of this specification, an open source, off-chain decentralized platform, build upon BTC/OmniLayer network, implements basic HTLC payment, atomic swap of multi-currencies, and more off-chain contracts on the network of smart assets enabled lightning channels.

Advantages

  • Instant payment of smart assets issued on OmniLayer and Etherium(soon future).
  • Cross channel atomic swap for various crypto assets.
  • Decentralized exchange on top of stable coin enabled lightning channels.
  • Automatic market maker and liquidity pool for DEX.

Why OmniBOLT

Decentralized finance industry requires a much more flexible, extensible and cheaper smart assets circulation solution to solve the main chain scalability problem. Lightning network is a solid technology to this problem. According to the layer-2 protocol BOLT (Basis of Lightning Technology) specification for off-chain bitcoin transfer, we need a protocol to support wider range of assets for upper layer applications: payment, game, finance or scenerios need stable coins.

Meanwhile, Omnilayer is an onchain smart assets issuance technology, which is proven secure and stable. Constructing lightning channels on top of it automatically acquires the ability of issuing assets, temper resistant, and on-chain settlement. This is where OmniBOLT built upon.

How it works:

OmniBOLT-Protocol-Suite

  1. On-chain protocol is Omnilayer, which is the issuance and settlement level;
  2. OmniBOLT 2, 3, 4 form the main network protocols;
  3. Applications level consists of contracts for various applications;

OmniBOLT itself does not issue tokens. All tokens are issued on Omnilayer, and enter the OmniBOLT network through P2(W)SH backed channels, being locked on the main chain, and can be redeemed on the Omnilayer main chain at any time.

Chapters and Protocol Suite

We not only just list messages and arguments that are used in our implementation, but also complete content that explains why we do so. Most of this spec is strictly follow the rules/logics defined in the lightning white paper. The original paper may be hard to read for our programmers, so we draw some diagrams for better understanding. Hope it helps :-)

OmniBOLT #01: Base Protocol and Terminology

OmniBOLT #02: peer-protocol, Poon-Dryja channel open

OmniBOLT #03: RSMC and OmniLayer Transactions

OmniBOLT #04: HTLC and payment Routing

OmniBOLT #05: Atomic Swap Protocol among Channels

OmniBOLT #06: Automatic Market Maker, Liquidity Pool and DEX

OmniBOLT #07: Hierarchical Deterministic (HD) wallet, Invoice Encoding

Technology Guide

OmniBOLT Technology Guide Part I offers quick understanding of the rationale, concepts, architecture of OmniBOLT.

Implementation and API for client applications

Implementation of OmniBOLT specification can be found in this repository OmniBOLT Daemon, as well as the API online documentation can be found here.

Javascript API:. The JS SDK implments a complete set of APIs for HD wallets (required by OmniBOLT #07:) and client applications. It manages pub/priv keys genertion and helps developers automatically fill in the arguments which is hardly to be manually finished.

GUI debugging tool: here.

Contribution

OmniBolt specification is incubated by Omnilayer.foundation. Any proposal, please submit issues in this repo.

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].