This is a thought experiment to see how an application protocol like Memo.cash could migrate to using the Bitcom decentralized prefix scheme.
bit init
<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 |
const bitwork = require('bitwork'); | |
const config = { | |
rpc: { host: "...", user: "...", pass: "..." }, | |
peer: { host: "..." }, | |
chain: null, | |
}; | |
function getbitworknum() { | |
return new Promise(async (resolve, reject) => { |