Skip to content

Instantly share code, notes, and snippets.

View christroutner's full-sized avatar
💭
https://FullStack.cash is where I play.

Chris Troutner christroutner

💭
https://FullStack.cash is where I play.
View GitHub Profile
@christroutner
christroutner / radicle-pm-grant.md
Last active November 7, 2022 21:07
Radicle Package Manager Grant Application

Radicle Grant Application - Package Manager

  • Project Name: Package Manager Research
  • Team Name: Chris Troutner
  • Payment Address: 0x4fdcEcf844B578d0190AFe267c498B2a0253A084
  • Level: 🌱-Seed

Project Overview 📄

The scope of this project is to conduct research into package management systems. The goal is to evaluate the work necessary to create an embedded package registry system within Radicle, similar to the GitHub Packages.

github.com/ipfs/[email protected]/internal/peermanager/peermanager.go:158 +0x35
github.com/ipfs/go-bitswap/internal/sessionmanager.(*SessionManager).cancelWants(0xc0a16e0, {0x4153cb40, 0x0, 0xa})
github.com/ipfs/[email protected]/internal/sessionmanager/sessionmanager.go:188 +0x73
github.com/ipfs/go-bitswap/internal/sessionmanager.(*SessionManager).CancelSessionWants(0xc0a16e0, 0x3a7e, {0x1d492080, 0xa, 0x10})
github.com/ipfs/[email protected]/internal/sessionmanager/sessionmanager.go:177 +0x70
github.com/ipfs/go-bitswap/internal/session.(*sessionWantSender).onChange(0x112397b8, {0x2244df44, 0x1, 0x1})
github.com/ipfs/[email protected]/internal/session/sessionwantsender.go:300 +0x219
github.com/ipfs/go-bitswap/internal/session.(*sessionWantSender).Run(0x112397b8)
github.com/ipfs/[email protected]/internal/session/sessionwantsender.go:188 +0x7d
created by github.com/ipfs/go-bitswap/internal/session.(*Session).run
@christroutner
christroutner / bch-infra-presentation-notes.md
Last active November 16, 2022 07:00
BCH22 Presentation
@christroutner
christroutner / CoinJoin-Flipstarter-Status.md
Last active July 11, 2023 00:00
CoinJoin Flipstarter Status
@christroutner
christroutner / abstract.md
Last active October 21, 2022 00:39
Collaborative Coinjoin Flipstarter Rough Draft

Overview

Users of Bitcoin Cash value their financial privacy. The community has built a powerful tool in the form of CashFusion, which coordinates CoinJoin transactions, in order to restore financial privacy. But over the last few months, the following problems have arisen with CashFusion:

  • Many users are reporting a lack of fusion transactions. They are doing everything right, but the transaction formation is consistently failing. Despite many brilliant minds discussing it, there appears to be no clear solution.

  • The protocol is complex. Despite many brilliant and well funded people making the attempt, it's only been incorporated into two wallets: Electron Cash and Pokket. And Pokket is no longer maintained.

  • There is only a single server for coordinating fusions. More than one server is undesirable because that creates liquidity issues. And server hosting, in light of the recent OFAC listing of Tornado Cash, has
{
"consumerApis": [
{
"name": "wa-usa-xec-consumer.fullstackcash.nl",
"ipfsId": "12D3KooWCTwdBFz7rWYPav54qgKVjPzNNzC46Qdg1w14iSU2mQJo",
"url": "http://wa-usa-xec-consumer.fullstackcash.nl"
},
{
"name": "xec-consumer-or1-usa.fullstackcash.nl",
"ipfsId": "12D3KooWJNjbzJuF6suDXdC4eDarTR8Maf8H3fxZEvaTqpiBr7Ma",
@christroutner
christroutner / Escrow.cash
Created October 14, 2022 02:26 — forked from cgcardona/Escrow.cash
Escrow CashScript Contract for blind escrow based on local.bitcoin.com
contract Escrow(
bytes20 sellerPHK, // Hash160 of seller's public key
bytes20 buyerPKH, // Hash160 of buyer's public key
bytes20 arbitratorPKH, // Hash160 of arbitrator's public key
bytes escrowKey // Nonce (just some unimportant random bytes unique per exchange)
) {
function spend(
sig spenderSig,
pubkey spenderPK,
datasig oracleSig,
@christroutner
christroutner / psf-public-circuit-relays.json
Last active October 1, 2022 20:30
psf-public-circuit-relays
{
"browser": [
{
"name": "p2wdb-cr-wss.fullstack.cash",
"multiaddr": "/dns4/p2wdb-cr-wss.fullstack.cash/tcp/443/wss/ipfs/12D3KooWKNuBjaMgEDN2tGqzmdfM2bmd22VEuboC4X7x8ua4DvUg",
"ipfsId": "12D3KooWKNuBjaMgEDN2tGqzmdfM2bmd22VEuboC4X7x8ua4DvUg"
},
{
"name": "ipfs-cr.fullstackslp.nl",
"multiaddr": "/dns4/ipfs-cr.fullstackslp.nl/tcp/443/wss/ipfs/12D3KooWJyc54njjeZGbLew4D8u1ghrmZTTPyh3QpBF7dxtd3zGY",
@christroutner
christroutner / bch-nft-video-notes.md
Last active May 14, 2022 23:58
bch-nft-video-notes
@christroutner
christroutner / bitcore-p2sh-multisig.md
Last active March 30, 2022 13:59
BCH P2SH Multisig

This is my attempt to use the bitcore-lib-cash examples to construct a P2SH multisig transaction.

There are two files:

  1. multisig01.js generates a 2-of-3 P2SH address.
  2. multisig02.js spends the 2,000 sats in the address.