View monacoin's signet genesis block
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
01000000 - version | |
0000000000000000000000000000000000000000000000000000000000000000 - prev block | |
a64bac07fe31877f31d03252953b3c32398933af7a724119bc4d6fa4a805e435 - merkle root | |
008f4d5f - timestamp | |
f0ff0f1e - bits | |
f93b3b00 - nonce | |
01 - number of transactions | |
01000000 - version | |
01 - input | |
0000000000000000000000000000000000000000000000000000000000000000ffffffff - prev output |
View signet genesis(monacoin) exmaple
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
$ monactl getblockhash 0 | |
400c930bf4c5a3c4fce38554d4d1d24a61cf78316abfda22d034e2bb567335b5 | |
$ monactl getblock 400c930bf4c5a3c4fce38554d4d1d24a61cf78316abfda22d034e2bb567335b5 2 | |
{ | |
"hash": "400c930bf4c5a3c4fce38554d4d1d24a61cf78316abfda22d034e2bb567335b5", | |
"confirmations": 1, | |
"strippedsize": 303, | |
"size": 303, | |
"weight": 1212, | |
"height": 0, |
View metadata
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
test2 |
View 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
did:3:kjzl6cwe1jw145frjog9qzox0py6sm1fk729kgx8m2z0jwg67kbc1twns4mkzxy |
View monacard.py
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 re | |
import requests | |
endpoint = "http://127.0.0.1:5001/api/v0/pin/add" | |
url= "https://card.mona.jp/api/cid_list" | |
response = requests.get(url) | |
parse_data = re.finditer(r'"cid":"([a-z0-9]+)"', response.text) | |
for m in parse_data: |
View monacoin signet params
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")) { |
View ido-contractsのインストール
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 |
View windows build log
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'... |
View settings:electrs:monacoin
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 |
View test
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": "", |
NewerOlder