- The guardians (aka. custodians, aka. federation members)
- technical community members
- runs a federation which holds funds on behalf of the community
- jointly manage an onchain bitcoin wallet (threshold multisig)
- coordinate through distributed consensus
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Best used if called by 'tls-download-mutinynet.sh' script | |
# fedimint.my-super-host.com should be replaced by a domain controlled by you and all DNS below should redirect to the IP of your server. | |
# Domains: | |
# - fedimint.my-super-host.com | |
# - gatewayd.fedimint.my-super-host.com | |
# - gateway-ui.fedimint.my-super-host.com | |
# - rtl.fedimint.my-super-host.com | |
version: "3.3" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This file downloads the mutinynet docker-compose files for the LN gateway and fedimintd | |
# Important: This version uses TLS certificates, so you must have a domain under your control that you can change the DNS records for | |
# You can download this script and run it with: curl -sSL https://raw.githubusercontent.com/fedimint/fedimint/master/docker/tls-download-mutinynet.sh | bash | |
DOCKER_COMPOSE_FILE=https://gist.githubusercontent.com/okjodom/f8f8868ace900b7de305f0f44d4f8336/raw/175e787d584727d72e6b077f638a0f1c1f6b46b7/mutinynet-gateway-docker-compose.yml | |
if ! [ -x "$(command -v docker-compose)" ]; then | |
# check if we are running as root |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Attaching to root_fedimintd_1 | |
[36mfedimintd_1 |[0m Starting fedimintd | |
[36mfedimintd_1 |[0m [2m2023-07-24T18:08:01.938639Z[0m [32m INFO[0m [2mconsensus[0m[2m:[0m Starting config gen | |
[36mfedimintd_1 |[0m [2m2023-07-24T18:08:01.939149Z[0m [32m INFO[0m [2mnet::api[0m[2m:[0m Starting api on ws://0.0.0.0:80 | |
[36mfedimintd_1 |[0m [2m2023-07-24T18:09:35.592101Z[0m [32m INFO[0m [1mconnection[0m[1m{[0m[3mremote_addr[0m[2m=[0m172.19.0.2:39834 [3mconn_id[0m[2m=[0m0[1m}[0m[2m:[0m [2mjsonrpsee_server::server[0m[2m:[0m Accepting new connection 1/10 | |
[36mfedimintd_1 |[0m [2m2023-07-24T18:10:45.116827Z[0m [32m INFO[0m [1mconnection[0m[1m{[0m[3mremote_addr[0m[2m=[0m172.19.0.2:45408 [3mconn_id[0m[2m=[0m1[1m}[0m[2m:[0m [2mjsonrpsee_server::server[0m[2m:[0m Accepting new connection 1/10 | |
[36mfedimintd_1 |[0m [2m2023-07-24T18:11:12.268470Z[0m [32m INFO[0m [1mconnection[0m[1m{[0m[3mremote_addr[0m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::net::SocketAddr; | |
use anyhow::anyhow; | |
use clap::Parser; | |
use fedimint_core::task::TaskGroup; | |
use ln_gateway::gatewaylnrpc::gateway_lightning_server::{ | |
GatewayLightning, GatewayLightningServer, | |
}; | |
use ln_gateway::gatewaylnrpc::{ | |
EmptyRequest, GetNodeInfoResponse, GetRouteHintsResponse, PayInvoiceRequest, |
Screencast.from.2023-03-24.04.42.26.PM.webm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Water Quality Analysis in the Winam Gulf of Lake Victoria | |
Water Quality Parameter: Chlorophyll-a | |
##################### | |
Specific Study Area: Mbita Point | |
Datasets: Landat 5 and Landsat 7 Satellite Imagery | |
Epochs: December 31st of the years [1984, 1988, 1992, 1996, 2000, 2004, 2008, 2016, 2016] | |
Test Epochs: 1984 and 2016 (Sentinel Epochs) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; // super class | |
class Book extends React.Component{ // sub class extends super class | |
constructor (){ // all classes have a constructor method | |
super(props); // must do this to link sub class to super class properties | |
this.id = "#B00K123"; | |
this.title = "We All Don't Know JS"; | |
this.description = "The book everyone needs to read"; | |
this.price = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Because everybody loves a blue Subaru */ | |
// Normal parameter defaults | |
function favoriteCar(car = 'Subaru', color = 'blue') { | |
return `Everybody loves a ${color} ${car}!`; | |
} | |
console.log(favoriteCar()); // Everyody loves a blue Subaru! | |
// Parameter defaults with object destructuring | |
function favoriteCar({car = 'Subaru', color = 'blue'} = {}) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Three for loops in JavaScript */ | |
const pirates = ['Davy Jones', 'Blackbeard', 'Cap`n Barbossa', 'Hook', 'Long Jon Silver', 'Jack Sparrow']; | |
// classical for loop | |
for (let i = 0; i < pirates.length; i++) { | |
console.log(`Yarrr! Ye can call me ${pirates[i]}`); | |
} | |
// for-in loop |
NewerOlder