Skip to content

Instantly share code, notes, and snippets.

@unwriter
unwriter / baedemo.html
Created August 2, 2020 22:50
baemail demo
<html>
<body>
<script src="https://www.moneybutton.com/moneybutton.js"></script>
<script src='https://unpkg.com/bsv@1.0.0/bsv.min.js'></script>
<script src='https://unpkg.com/bsv@1.0.0/bsv-mnemonic.min.js'></script>
<div id='button'></div>
<script>
const Baemail = {};
// visible moneybutton
@unwriter
unwriter / bitwork_demo.js
Created December 4, 2019 12:01
bitwork debug working version
const bitwork = require('bitwork');
const config = {
rpc: { host: "...", user: "...", pass: "..." },
peer: { host: "..." },
chain: null,
};
function getbitworknum() {
return new Promise(async (resolve, reject) => {
@unwriter
unwriter / nemo.md
Created January 26, 2019 04:19
Nemo

Nemo: A hypothetical Memo.cash migration to Bitcom Decentralized Protocol Prefix Scheme

This is a thought experiment to see how an application protocol like Memo.cash could migrate to using the Bitcom decentralized prefix scheme.

Step 1. Generate a keypair

bit init