init
This commit is contained in:
commit
3217c1a4ed
|
@ -0,0 +1 @@
|
|||
.direnv/
|
|
@ -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
|
||||
}
|
|
@ -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 = {};
|
||||
};
|
||||
}
|
|
@ -0,0 +1,28 @@
|
|||
<svg width="10000" height="10000" version="1.1" xmlns="http://www.w3.org/2000/svg">
|
||||
<defs>
|
||||
<radialGradient id="G1" cx="50%" cy="50%" r="50%" fx="50%" fy="50%">
|
||||
<stop offset="0%" style="stop-color:#004455; stop-opacity:.8" />
|
||||
<stop offset="100%" style="stop-color:#030303; stop-opacity:0" />
|
||||
</radialGradient >
|
||||
</defs>
|
||||
|
||||
<ellipse
|
||||
cx="100"
|
||||
cy="120"
|
||||
rx="1500"
|
||||
ry="1500"
|
||||
fill="url(#G1)" />
|
||||
<ellipse
|
||||
cx="1000"
|
||||
cy="1200"
|
||||
rx="1500"
|
||||
ry="1000"
|
||||
fill="url(#G1)" />
|
||||
<ellipse
|
||||
cx="2200"
|
||||
cy="1600"
|
||||
rx="1000"
|
||||
ry="1200"
|
||||
fill="url(#G1)" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 622 B |
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,250 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="generator" content="pandoc">
|
||||
<title>Cardano Lightning</title>
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
|
||||
<link rel="stylesheet" href="https://unpkg.com/reveal.js@^4//dist/reset.css">
|
||||
<link rel="stylesheet" href="https://unpkg.com/reveal.js@^4//dist/reveal.css">
|
||||
<style>
|
||||
.reveal .sourceCode { /* see #7635 */
|
||||
overflow: visible;
|
||||
}
|
||||
code{white-space: pre-wrap;}
|
||||
span.smallcaps{font-variant: small-caps;}
|
||||
div.columns{display: flex; gap: min(4vw, 1.5em);}
|
||||
div.column{flex: auto; overflow-x: auto;}
|
||||
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
|
||||
/* The extra [class] is a hack that increases specificity enough to
|
||||
override a similar rule in reveal.js */
|
||||
ul.task-list[class]{list-style: none;}
|
||||
ul.task-list li input[type="checkbox"] {
|
||||
font-size: inherit;
|
||||
width: 0.8em;
|
||||
margin: 0 0.8em 0.2em -1.6em;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
|
||||
</style>
|
||||
<link rel="stylesheet" href="https://unpkg.com/reveal.js@^4//dist/theme/black.css" id="theme">
|
||||
<style>
|
||||
.reveal, .reveal h1, .reveal h2, .reveal h3, .reveal h4, .reveal h5, .reveal h6
|
||||
{
|
||||
font-family:"jetbrains-mono", "Times New Roman", Times;
|
||||
}
|
||||
@font-face{
|
||||
font-family:jetbrains-mono;src:local("TruenoSemiBold"),
|
||||
url("./fonts/TruenoSemiBold.woff2") format("woff2");
|
||||
}
|
||||
.black h2 {
|
||||
background-color: #020210;
|
||||
}
|
||||
|
||||
.reveal ul {
|
||||
list-style-type: "❯ ";
|
||||
}
|
||||
|
||||
.reveal .slides p {
|
||||
margin: 2rem 0;
|
||||
text-align:left;
|
||||
}
|
||||
|
||||
.reveal .slides blockquote > p {
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="reveal">
|
||||
<div class="slides">
|
||||
|
||||
<section id="title-slide" data-background-image="./assets/logo.png" data-background-opacity="0.3" data-background-size="contain">
|
||||
<h1 class="title">Cardano Lightning</h1>
|
||||
<p class="subtitle">xxx</p>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<section id="the-problem" class="title-slide slide level2">
|
||||
<h2>The Problem</h2>
|
||||
|
||||
</section>
|
||||
<section id="payment-system" class="slide level3">
|
||||
<h3>Payment system</h3>
|
||||
<ol type="1">
|
||||
<li>Permissionless</li>
|
||||
<li>Near instant</li>
|
||||
<li>Highly scalable</li>
|
||||
</ol>
|
||||
</section></section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="https://unpkg.com/reveal.js@^4//dist/reveal.js"></script>
|
||||
|
||||
<!-- reveal.js plugins -->
|
||||
<script src="https://unpkg.com/reveal.js@^4//plugin/notes/notes.js"></script>
|
||||
<script src="https://unpkg.com/reveal.js@^4//plugin/search/search.js"></script>
|
||||
<script src="https://unpkg.com/reveal.js@^4//plugin/zoom/zoom.js"></script>
|
||||
|
||||
<script>
|
||||
|
||||
// Full list of configuration options available at:
|
||||
// https://revealjs.com/config/
|
||||
Reveal.initialize({
|
||||
// Display controls in the bottom right corner
|
||||
controls: true,
|
||||
|
||||
// Help the user learn the controls by providing hints, for example by
|
||||
// bouncing the down arrow when they first encounter a vertical slide
|
||||
controlsTutorial: true,
|
||||
|
||||
// Determines where controls appear, "edges" or "bottom-right"
|
||||
controlsLayout: 'bottom-right',
|
||||
|
||||
// Visibility rule for backwards navigation arrows; "faded", "hidden"
|
||||
// or "visible"
|
||||
controlsBackArrows: 'faded',
|
||||
|
||||
// Display a presentation progress bar
|
||||
progress: true,
|
||||
|
||||
// Display the page number of the current slide
|
||||
slideNumber: false,
|
||||
|
||||
// 'all', 'print', or 'speaker'
|
||||
showSlideNumber: 'all',
|
||||
|
||||
// Add the current slide number to the URL hash so that reloading the
|
||||
// page/copying the URL will return you to the same slide
|
||||
hash: true,
|
||||
|
||||
// Start with 1 for the hash rather than 0
|
||||
hashOneBasedIndex: false,
|
||||
|
||||
// Flags if we should monitor the hash and change slides accordingly
|
||||
respondToHashChanges: true,
|
||||
|
||||
// Push each slide change to the browser history
|
||||
history: false,
|
||||
|
||||
// Enable keyboard shortcuts for navigation
|
||||
keyboard: true,
|
||||
|
||||
// Enable the slide overview mode
|
||||
overview: true,
|
||||
|
||||
// Disables the default reveal.js slide layout (scaling and centering)
|
||||
// so that you can use custom CSS layout
|
||||
disableLayout: false,
|
||||
|
||||
// Vertical centering of slides
|
||||
center: true,
|
||||
|
||||
// Enables touch navigation on devices with touch input
|
||||
touch: true,
|
||||
|
||||
// Loop the presentation
|
||||
loop: false,
|
||||
|
||||
// Change the presentation direction to be RTL
|
||||
rtl: false,
|
||||
|
||||
// see https://revealjs.com/vertical-slides/#navigation-mode
|
||||
navigationMode: 'default',
|
||||
|
||||
// Randomizes the order of slides each time the presentation loads
|
||||
shuffle: false,
|
||||
|
||||
// Turns fragments on and off globally
|
||||
fragments: true,
|
||||
|
||||
// Flags whether to include the current fragment in the URL,
|
||||
// so that reloading brings you to the same fragment position
|
||||
fragmentInURL: true,
|
||||
|
||||
// Flags if the presentation is running in an embedded mode,
|
||||
// i.e. contained within a limited portion of the screen
|
||||
embedded: false,
|
||||
|
||||
// Flags if we should show a help overlay when the questionmark
|
||||
// key is pressed
|
||||
help: true,
|
||||
|
||||
// Flags if it should be possible to pause the presentation (blackout)
|
||||
pause: true,
|
||||
|
||||
// Flags if speaker notes should be visible to all viewers
|
||||
showNotes: false,
|
||||
|
||||
// Global override for autoplaying embedded media (null/true/false)
|
||||
autoPlayMedia: null,
|
||||
|
||||
// Global override for preloading lazy-loaded iframes (null/true/false)
|
||||
preloadIframes: null,
|
||||
|
||||
// Number of milliseconds between automatically proceeding to the
|
||||
// next slide, disabled when set to 0, this value can be overwritten
|
||||
// by using a data-autoslide attribute on your slides
|
||||
autoSlide: 0,
|
||||
|
||||
// Stop auto-sliding after user input
|
||||
autoSlideStoppable: true,
|
||||
|
||||
// Use this method for navigation when auto-sliding
|
||||
autoSlideMethod: null,
|
||||
|
||||
// Specify the average time in seconds that you think you will spend
|
||||
// presenting each slide. This is used to show a pacing timer in the
|
||||
// speaker view
|
||||
defaultTiming: null,
|
||||
|
||||
// Enable slide navigation via mouse wheel
|
||||
mouseWheel: false,
|
||||
|
||||
// The display mode that will be used to show slides
|
||||
display: 'block',
|
||||
|
||||
// Hide cursor if inactive
|
||||
hideInactiveCursor: true,
|
||||
|
||||
// Time before the cursor is hidden (in ms)
|
||||
hideCursorTime: 5000,
|
||||
|
||||
// Opens links in an iframe preview overlay
|
||||
previewLinks: false,
|
||||
|
||||
// Transition style (none/fade/slide/convex/concave/zoom)
|
||||
transition: 'slide',
|
||||
|
||||
// Transition speed (default/fast/slow)
|
||||
transitionSpeed: 'default',
|
||||
|
||||
// Transition style for full page slide backgrounds
|
||||
// (none/fade/slide/convex/concave/zoom)
|
||||
backgroundTransition: 'fade',
|
||||
|
||||
// Number of slides away from the current that are visible
|
||||
viewDistance: 3,
|
||||
|
||||
// Number of slides away from the current that are visible on mobile
|
||||
// devices. It is advisable to set this to a lower number than
|
||||
// viewDistance in order to save resources.
|
||||
mobileViewDistance: 2,
|
||||
|
||||
// Parallax background image
|
||||
parallaxBackgroundImage: './assets/background.svg', // e.g. "'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg'"
|
||||
|
||||
// reveal.js plugins
|
||||
plugins: [
|
||||
RevealNotes,
|
||||
RevealSearch,
|
||||
RevealZoom
|
||||
]
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,27 @@
|
|||
<style>
|
||||
.reveal, .reveal h1, .reveal h2, .reveal h3, .reveal h4, .reveal h5, .reveal h6
|
||||
{
|
||||
font-family:"jetbrains-mono", "Times New Roman", Times;
|
||||
}
|
||||
@font-face{
|
||||
font-family:jetbrains-mono;src:local("TruenoSemiBold"),
|
||||
url("./fonts/TruenoSemiBold.woff2") format("woff2");
|
||||
}
|
||||
.black h2 {
|
||||
background-color: #020210;
|
||||
}
|
||||
|
||||
.reveal ul {
|
||||
list-style-type: "❯ ";
|
||||
}
|
||||
|
||||
.reveal .slides p {
|
||||
margin: 2rem 0;
|
||||
text-align:left;
|
||||
}
|
||||
|
||||
.reveal .slides blockquote > p {
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
</style>
|
|
@ -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
|
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue