Skip to content

Instantly share code, notes, and snippets.

View wakiyamap's full-sized avatar
🏠
Working from home

WakiyamaP wakiyamap

🏠
Working from home
View GitHub Profile
@grd
grd / float128.go
Created November 10, 2012 05:46
Simplified float128, more in style with the math package
// This package implements 128-bit ("double double") floating point using
// a pair of 64-bit hardware floating point values and standard hardware
// floating point operations. It is based directly on libqd by Yozo Hida,
// Xiaoye S. Li, David H. Bailey, Yves Renard and E. Jason Riedy. Source:
// http://crd.lbl.gov/~dhbailey/mpdist/qd-2.3.13.tar.gz
package float128
import (
"errors"
"fmt"
@afmsavage
afmsavage / keep-ecdsa-node.md
Last active September 27, 2020 20:26
Walkthrough to create Keep-ECDSA node for either mainnet or testnet

Keep Network ECDSA Node Setup Guide

9/19/2020
NOTE: I will no longer be updating this guide with the newest testnet bootsrap peers and contract addresses (if they change). You can check the official docs for them at https://github.com/keep-network/keep-ecdsa/blob/master/docs/run-keep-ecdsa.adoc#72-testnet. This will only impact the BondedECDSAKeepFactory and SanctionedApplications contract addresses and the bootstrap peers list of the testnet config.toml example below. Last updated when mainnet launched mid Sept.

This guide describes the steps required to get a Keep-ECDSA node up and running on the Ropstein testnet and the Ethereum Mainnet. This guide assumes you are running Ubuntu. If you use a different distro such as Fedora, most commands should remain the same but keep that in mind. Also, please use Novy4's guide to get your server setup and ready to run the ECDSA node. I will be detaili

@cryptcoin-junkey
cryptcoin-junkey / WHITEPAPER.md
Last active October 26, 2020 01:33
[whitepaper] Monaparty IPFS

Monaparty IPFS ホワイトペーパー

ついに Monaparty がホワイトペーパーなるものを書くようになりました。きっと scam だ、この計画は。

現状の問題点

Monaparty は、XMP アセットを基軸として新規アセットの発行と交換をトラストレスに行うプラットフォームであり、それ以上の機能は、ほぼ有していない。 例外的な機能としてブロードキャスト・メッセージがある。

ブロードキャスト・メッセージは、マイナー手数料に相当するモナコインさえあれば、XMP を消費することなく万人が見える形で文字列を記録できる。

import React, { useEffect, useState } from "react"
const apis = [
'https://monapa.electrum-mona.org/_api',
'https://mpchain.info/api/cb',
'https://wallet.monaparty.me/_api',
];
export default function ReadBC(props) {
const [msgs, setMsgs] = useState(null);
#!/bin/bash
API=https://card.mona.jp/api
DB=monacard_db
IMG=img
TMPD=tmp.d
BACKUPD=backup.d
mkdir -p $DB
mkdir -p $IMG
mkdir -p $TMPD
mkdir -p $BACKUPD
-----BEGIN PUBLIC KEY-----
MIMCACUwDQYJKoZIhvcNAQEBBQADgwIAEQAwgwIACwKDAgABAOCwkZoDmctAH6Rt
qQ7GkCfrVAVh5WT6O6knJCtmvXvOxHnLFxvKht0RxUNsVZ4K2mcqtFCpCGbtThMJ
6+SIJCCLyLO5aJ3Bibp7Zz8iNEyWckfET6B+tmZbLrtKvSz+MMjROP9kDJXo6NTI
5H1acPFIIhtGoDOGoG0is9rye6sKZjg4pSMmxMjPo+6vtRXvqrJYqMXsFaP+feVW
przXf+R1EKDf+s1Cs116Kti0JuSXzB2I2dtSDpr9vJFaVXi3jo8FUyqkYoLB3Yam
bCdDr6b3lmRPLFdu3jmBQRAu8u/xb0yoNuztY0tLhIS1HRuDJ3ObUDisxgJXN076
NijaAGLaeBxKbVzHVHbjWZRFHFSGi/b1E/6qYEX28FuQJsIR42Mw5wRZXHbRSzG+
2mNnJ1N2B3uBPTrCaTFVUCrewhkNQm0aG4S+jMCiJ3QRDkzDhtV5GHmvJh2rllw+
ToscZv1ZmErDDVYpp6zZCpG1DSnzaDp4Habx8xs9RR+e8mnr7kbZPrVMbwQvJOet