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
did:3:kjzl6cwe1jw145frjog9qzox0py6sm1fk729kgx8m2z0jwg67kbc1twns4mkzxy |
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
/** | |
* Signet | |
*/ | |
class SigNetParams : public CChainParams { | |
public: | |
explicit SigNetParams(const ArgsManager& args) { | |
std::vector<uint8_t> bin; | |
vSeeds.clear(); | |
if (!args.IsArgSet("-signetchallenge")) { |
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
# OSのアップデートリストの更新 | |
sudo apt update | |
# 更新されたアップデートリストを元に実際にOSを更新 途中で更新しますか?聞かれたらyでEnter | |
sudo apt upgrade | |
# nvmのインストールに必要なソフトをインストール | |
# gitはgithub(プログラムのソース共有管理サイト)のコマンドライン | |
# curlはコマンドラインからwebにアクセスするための物。ダウンロードとかに使います | |
sudo apt install git curl |
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
wakiyamap@wakiyamap-VirtualBox:~/electrum/contrib/build-wine/fresh_clone/electrum$ sudo docker run -it \ | |
> --name electrum-wine-builder-cont \ | |
> -v $PWD:/opt/wine64/drive_c/electrum \ | |
> --rm \ | |
> --workdir /opt/wine64/drive_c/electrum/contrib/build-wine \ | |
> electrum-wine-builder-img \ | |
> ./build.sh | |
💬 INFO: Clearing /opt/wine64/drive_c/electrum/contrib/build-wine/build and /opt/wine64/drive_c/electrum/contrib/build-wine/dist... | |
💬 INFO: Building secp256k1... | |
Cloning into 'secp256k1'... |
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
$ cd ~ | |
$ wget https://github.com/monacoinproject/monacoin/releases/download/monacoin-0.17.1/monacoin-0.17.1-x86_64-linux-gnu.tar.gz | |
$ tar -zxvf monacoin-0.17.1-x86_64-linux-gnu.tar.gz | |
$ sudo cp monacoin-0.17.1/bin/monacoind /usr/bin/ | |
$ sudo cp monacoin-0.17.1/bin/monacoin-cli /usr/bin/ | |
$ mkdir .monacoin | |
$ vi .monacoin/monacoin.conf |
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
$ mycoin-cli -getinfo | |
{ | |
"version": 160300, | |
"protocolversion": 70015, | |
"walletversion": 159900, | |
"balance": 0.00000000, | |
"blocks": 0, | |
"timeoffset": 0, | |
"connections": 0, | |
"proxy": "", |
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 bitcoin.base58 | |
import bitcoin.bech32 | |
""" | |
Converts a base58 bitcoin address into a 21 byte bytes object | |
""" | |
address = "bc1qqmpt7u5e9hfznljta5gnvhyvfd2kdd0r90hwue" | |
try: | |
bech32 = bitcoin.bech32.CBech32Data(address) | |
witver = (0x80 + bech32.witver).to_bytes(1, byteorder='big') # mark the first byte for segwit |
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
nodes: | |
- | |
friendlyName: http://3br3ynmu7amoiclaetx4iu4v43qqfu5p4hcy3upvsdthaviz5gfpjbad.onion:3000/ | |
host: 3br3ynmu7amoiclaetx4iu4v43qqfu5p4hcy3upvsdthaviz5gfpjbad.onion | |
voting: true | |
signingPrivateKey: SIGNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN | |
vrfPrivateKey: VRFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF | |
votingPrivateKey: VOTEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE | |
gateways: | |
- |
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
Block time: 1.5 minutes(90 seconds) | |
Total coins: 105120000 | |
Genesis Hash: ff9f1c0116d19de7c9963845e129f9ed1bfc0b376eb54fd7afa42e0d418c8bb6 | |
P2PKH header: 50(0x32) | |
P2SH header: 55(0x37) | |
P2SH header2: 5(0x05) | |
WIF Prefix: 176(0xB0) | |
WIF Prefix2: 178(0xB2) | |
magic bytes: 0xdbb6c0fb | |
RPC port: 9402 |
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
[center][img]https://monacoin.org/img/monacoin.png[/img] | |
[size=15pt]http://monacoin.org/en/[/size] | |
[b][color=blue][size=15pt]Specifications[/size][/color][/b] | |
Algorithm: Lyra2REv2 (originally Scrypt until block 450000) | |
Premine: none | |
Block reward: 50 MONA | |
Block time: 1.5 minutes | |
Retarget: 1 block (Dark Gravity Wave algorithm, hard fork at block 450000) |