在研究如何簽發 BCH raw transaction 後廣播到網路 (一般不建議這麼做,也不需要,但我很想自己試試,所以一直放在 todo list。) 想確認 raw transaction 格式規範時,讀到這個預計明年五月上線的更新倡議。 https://bitcoincashresearch.org/t/chip-2021-01-pmv3-version-3-transaction-format/265 https://github.com/bitjson/pmv3 有噪咖在追蹤研究這個的嗎? 理想上是自己做一個錢包玩玩,不過做了點功課後覺得並不簡單,不是不可能,但就要去爬 UTXO。或許多少因為區塊擴容的關係,BCH 區塊鏈現在約有 160 GB。猜想錢包要有效率的話可能在與區塊鏈之間會需要一個資料精簡層。 所以目標設定沒那麼高,就打算工人智慧找 UTXO 出來簽章廣播交易。還在做功課,有興趣的噪咖可以參考以下資源一起玩玩: [UTXO 設計疑問] https://bitcoin.stackexchange.com/questions/75840/how-does-the-wallet-identify-which-utxos-belong-to-a-public-address-while-creati [大餅 raw transaction 格式介紹] http://www.herongyang.com/Bitcoin/Transaction-Data-Decode-Raw-Format.html 也可以如附圖在 explorer 裡點 For developers / Raw tx 來直接看更多 BCH 的 raw<-->json 的對照範例 (然後應該很多人注意到了,除了跟 CoinFLEX 合作以外,現在 Bitcoin.com 上的 explorer 會直接套 blockchair。) https://leftasexercise.com/2018/03/16/on-the-road-again-serializing-and-deserializing-bitcoin-transactions/ [大餅 raw transaction 步驟概念簡介] https://github.com/BlockchainCommons/Learning-Bitcoin-from-the-Command-Line/blob/master/04_2_Creating_a_Raw_Transaction.md 針對 BCH 的資源還可以看看,但網站警示說不保證資訊正確性。 https://bchinfo.org/en/developer-examples 廣播的部分目前找到這個 https://bch.info/en/tools/broadcast BCH 手續費很便宜,所以打算直接玩主網。不然應該也有測試網可以試試。 -- 補幾篇後來找到的資訊 https://www.gushiciku.cn/pl/2Q0N/zh-tw http://www.righto.com/2014/02/bitcoins-hard-way-using-raw-bitcoin.html
No comments yet