I asked ChatGPT for Rust code – does it work?
Did the code from ChatGPT compile straight away? No. Keep reading to see what I had to fix… The Cargo file is the main reason why it didn’t compile, and interestingly the screenshot here uses the Coinbase API, but an earlier question to ChatGPT replied with code using CoinGecko. Each time the issues were with […]
Saylor.org Study Sessions
If you have any interest computer science or own any money at all then learning about Bitcoin is time well spent. The best training resource that you can start with is the “Saylor Academy : Bitcoin for developers“ The video below was first broadcast 8th March 2023 and just after halfway through has a great […]
Explore Bitcoin Core
In the near future I will be demonstrating more concepts using Python code, Jupyter notebook, and Rust. I will be sharing my progress as I learn about Bitcoin, Bitcoin Core and all things related to Bitcoin’s code. I also recently passed CS120: Bitcoin for Developers with Saylor.org: Certificate : https://certificates.saylor.org/d74173c9-1dde-409b-9aa5-70603d066ce5 Run your own node All […]
How to create Public Private Keypairs in Rust
Using secp256k1 Rust bindings for Pieter Wuille’s secp256k1 library, which is used for fast and accurate manipulation of ECDSA signatures on the secp256k1 curve. Such signatures are used extensively by the Bitcoin network and its derivatives. secp256k1 This article shows the code used to create a public/private keypair using secp.generate_keypair in Rust. Also, make sure […]
Bitcoin Core – Learn to interact : regtest
The idea is to use “regtest” to try out bitcoin-cli with RPC and create a wallet, create a transaction. This is not about mining, this is about the code used to “Buy” or “Sell” Bitcoin and how you can interact with the blockchain using either the bitcoin-cli or Python code. https://github.com/RGGH/bitcoin