Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.
/ Circle Public archive

Public Repositories on Lightning Network

License

Notifications You must be signed in to change notification settings

AreaLayer/Circle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Circle

"Github" on Bitcoin powered by Carbonado, RGB, Lightning Network and Nostr

High-level implementation design

The implementation is composed of three parts:

GitCircleClient - A local git client executable that runs on a developer machine on Storm

GitServerCircle - A “hidden” git server that listens to private messages sent via Storm

GitStorageCircle - A storage based Carbonado for archieve chats and repositories

GitCircleClient

This is a standard git client with modifications to make it communicate over Storm. The client tracks local source files the same as before. It mainly differs in the following way: User id: user id is the Storm id of the user. Git Pull request: Initiate a fetch request by sending a private message to a Storm user that represents a GitServerCircle Get requested data from GitServerCircle in the form of private Storm Do local merge “regularly” Push by sending Storm messages to theGitServerCircle Storm Id

GitServerCircle

This is a standard Git server with modifications to make it communicate over Storm. The main difference is that the server does not listen on an IP. Instead, it listens on Its Storm user ID. It receives requests from GitCircleClient in the form of Storm Messages Requests are parsed by its communication layer, translated into standard Git server commands, and executed standardly in its logical layer.
Responses are sent back to the GitCircleClient in the form of Nostr messages to the NostrableGitClient Storm ID.

GitStorageCircle

This is a standard git storage with modifications to make it communcate over Storm. The main difference is that the server stay on Carbonado. Instead, to be present in a web client like central data center

Client-Circle

More info

To-Do

  • Testnet
  • Integration with LND, CLN, LDK, LNP
  • Mainnet
  • Fees
  • RGB, Lightning Network, Nostr and Storm integrations