commit 3217c1a4ed7216c564f94abd525ad8cd75bf2ff3 Author: waalge Date: Sun Dec 22 16:13:09 2024 +0000 init diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..3550a30 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use flake diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9b42106 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.direnv/ diff --git a/README.md b/README.md new file mode 100644 index 0000000..878a2fa --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# Sudoku snark : intro diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..6ade029 --- /dev/null +++ b/flake.lock @@ -0,0 +1,58 @@ +{ + "nodes": { + "flake-parts": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib" + }, + "locked": { + "lastModified": 1733312601, + "narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "nixpkgs": { + "locked": { + "lastModified": 1734424634, + "narHash": "sha256-cHar1vqHOOyC7f1+tVycPoWTfKIaqkoe1Q6TnKzuti4=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "d3c42f187194c26d9f0309a8ecc469d6c878ce33", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs-lib": { + "locked": { + "lastModified": 1733096140, + "narHash": "sha256-1qRH7uAUsyQI7R1Uwl4T+XvdNv778H0Nb5njNrqvylY=", + "type": "tarball", + "url": "https://github.com/NixOS/nixpkgs/archive/5487e69da40cbd611ab2cadee0b4637225f7cfae.tar.gz" + }, + "original": { + "type": "tarball", + "url": "https://github.com/NixOS/nixpkgs/archive/5487e69da40cbd611ab2cadee0b4637225f7cfae.tar.gz" + } + }, + "root": { + "inputs": { + "flake-parts": "flake-parts", + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..6705ad6 --- /dev/null +++ b/flake.nix @@ -0,0 +1,59 @@ +{ + description = "CL Pitch"; + + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + flake-parts.url = "github:hercules-ci/flake-parts"; + }; + + outputs = inputs @ {flake-parts, ...}: + flake-parts.lib.mkFlake {inherit inputs;} + { + imports = [ + ]; + systems = ["x86_64-linux" "aarch64-darwin"]; + perSystem = { + config, + self', + inputs', + pkgs, + system, + ... + }: + { + devShells.default = let + build = pkgs.writeShellScriptBin "build" + '' + pandoc -t revealjs \ + --from markdown+yaml_metadata_block+link_attributes \ + -H src/header.html \ + -o public/index.html \ + -s \ + src/index.md + ''; + serve = pkgs.writeShellScriptBin "serve" + '' + caddy file-server --listen :7777 --root ./public + ''; + deploy = pkgs.writeShellScriptBin "deploy" + '' + echo "no yet implemented" + exit 1 + ''; + in pkgs.mkShell { + shellHook = '' + echo 1>&2 "Welcome to the development shell!" + ''; + name = "glossary-devshell"; + packages = [ + pkgs.pandoc + pkgs.caddy + build + serve + deploy + ]; + }; + }; + flake = {}; + }; +} diff --git a/public/assets/background.svg b/public/assets/background.svg new file mode 100644 index 0000000..d18a933 --- /dev/null +++ b/public/assets/background.svg @@ -0,0 +1,28 @@ + + + + + + + + + + + + + diff --git a/public/assets/logo.png b/public/assets/logo.png new file mode 100644 index 0000000..89b950c Binary files /dev/null and b/public/assets/logo.png differ diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000..f3ae85b Binary files /dev/null and b/public/favicon.ico differ diff --git a/public/fonts/TruenoSemiBold.eot b/public/fonts/TruenoSemiBold.eot new file mode 100644 index 0000000..52a91a3 Binary files /dev/null and b/public/fonts/TruenoSemiBold.eot differ diff --git a/public/fonts/TruenoSemiBold.ttf b/public/fonts/TruenoSemiBold.ttf new file mode 100644 index 0000000..ffc4c44 Binary files /dev/null and b/public/fonts/TruenoSemiBold.ttf differ diff --git a/public/fonts/TruenoSemiBold.woff b/public/fonts/TruenoSemiBold.woff new file mode 100644 index 0000000..f6865ba Binary files /dev/null and b/public/fonts/TruenoSemiBold.woff differ diff --git a/public/fonts/TruenoSemiBold.woff2 b/public/fonts/TruenoSemiBold.woff2 new file mode 100644 index 0000000..a8c10ac Binary files /dev/null and b/public/fonts/TruenoSemiBold.woff2 differ diff --git a/public/index.html b/public/index.html new file mode 100644 index 0000000..265a2b9 --- /dev/null +++ b/public/index.html @@ -0,0 +1,250 @@ + + + + + + Cardano Lightning + + + + + + + + + + +
+
+ +
+

Cardano Lightning

+

xxx

+
+ +
+
+

The Problem

+ +
+
+

Payment system

+
    +
  1. Permissionless
  2. +
  3. Near instant
  4. +
  5. Highly scalable
  6. +
+
+
+
+ + + + + + + + + + + diff --git a/src/header.html b/src/header.html new file mode 100644 index 0000000..b6dc689 --- /dev/null +++ b/src/header.html @@ -0,0 +1,27 @@ + diff --git a/src/index.md b/src/index.md new file mode 100644 index 0000000..349c7ad --- /dev/null +++ b/src/index.md @@ -0,0 +1,112 @@ +--- +title: Cardano Lightning +subtitle: Permissionless, near instant, highly scalable +mainfont: TruenoSemiBold +background-image: ./assets/background.svg +background-opacity: "0.35" +title-slide-attributes: + data-background-image: ./assets/logo.png + data-background-size: contain + data-background-opacity: "0.3" +background-image: ./assets/background.svg +background-opacity: "0.35" +--- + +## The Problem + +### Payments + +A fundamental part of commerce: payment. +There are three parties + +- Consumer (ie payer) +- Provider (ie payee) +- Facilitator + +These types of users require different functionality. + +Important features: + +- Security +- Speed +- Cost + +> People want secure, fast, low cost transactions + +### Existing systems + +- Cash: Permissionless, instant, scalable-ish (lots of people can use it at the same time, but only to pay people near them), +questionable security (fraud happens). +- Bank transfer: Permissioned, some instant others very slow, scalable. +- Contactless/ Card: Permissioned, near instant, scalable +- Decentralised Ledger \*: permissionless, maybe fast or scalable but generally not both. + +\* : There are many different designs of decentralised ledger, +each with different choices and trade-offs. +Some permissioned, some more decentralised than others, some faster, _etc_. + +### Market size + +Near instant payments + +> Contactless transactions will reach $11 trillion by 2027 + +source : Juniper Research + +Permissionless systems: + +> Market Cap for crypto : > $3 trillion + +source : coinmarketcap.com (Dec 2024) + +### Permissionless Payment system + +Can we have contactless like experience but Permissionless? + +1. Secure Permissionless +2. Near instant +3. Highly scalable + +### Nearest solution: Bitcoin Lightning + +Closest to meeting the aims. In a lightning network: + +- The network is fundamentally a set of channels, not a shared ledger. +- There is no need to reach consensus, or globally broadcasting state. +- Payments are routed across channels by participants. +- Speed of payment isn't a global property, but a more local one. + +### BLN problems + +However it has some issues: + +- Large technical and resource overhead to use. Every user must run a node. +- Difficult to efficiently manage capital. +Liquidity is required to enable payments to be routed across a network. +Moving capital between channels requires multiple transactions. + +## The Solution: Cardano Lightning + +### Design + +- A perturbation on BLN: its a Lightning Network +- Focused on addressing the key technical blockers +to it being used as a day-to-day payment system. + +### Tailored Nodes + +CL recognises a diversity in user needs. + +- Consumers want a super lightweight node, minimal resources, runs on their phone. +- Some businesses might be happy running their own servers, others wont. +The do need to integrate payments into their existing business operations. +- Those with capital and wanting to put it to use can setup as network routers. +They receive income on the service they provide, each payment they facilitate in routing. + +## Team + +### + +- @waalge +- @paluh +- @nhenin diff --git a/src/style.css b/src/style.css new file mode 100644 index 0000000..66c00a3 --- /dev/null +++ b/src/style.css @@ -0,0 +1,9 @@ +@font-face{ + font-family: 'sans-serif'; + src: + url('./fonts/TruenoSemiBold.woff2') format('woff2'), + url('./fonts/TruenoSemiBold.woff') format('woff'), + url('./fonts/TruenoSemiBold.ttf') format('ttf'); + font-weight: 400; + font-style: normal; +}