Chaingraph

45 posts

Chaingraph banner
Chaingraph

Chaingraph

@ChaingraphCash

An open source, multi-node blockchain indexer and GraphQL API.

Sumali Ekim 2021
16 Sinusundan187 Mga Tagasunod
Naka-pin na Tweet
Chaingraph
Chaingraph@ChaingraphCash·
Looking for a Bitcoin Cash API? Chaingraph supports multiple node implementations, zero-downtime network upgrades, and live subscriptions. twitter.com/bitjson/status…
Jason Dreyzehner@bitjson

Developers: for an open-source GraphQL API that supports multiple nodes and zero-downtime upgrades, consider @ChaingraphCash. Any query can be a live subscription, scaling to millions of subscribers. To get started, check out chaingraph.cash.

English
2
1
9
0
Chaingraph nag-retweet
Jason Dreyzehner
Jason Dreyzehner@bitjson·
The May 2026 upgrade is now active on Chipnet at block 279,792! 🎉 This upgrade completes the restoration of Bitcoin Script on Bitcoin Cash (CashVM), making CashVM a simple, ultra-efficient, high-level programming environment for sound money. Left: 2016 opcodes, right: 2026 opcodes 🔥 (source: vm.cash) Over the last decade, Bitcoin Cash has delivered: • 2018: Opcode restoration (OP_CAT, OP_XOR, OP_DIV, OP_MOD, etc.), • 2019: Schnorr signatures with multisig batch verification, • 2020: Density-based signature limits, • 2022: OP_MUL and introspection, • 2023: Cross-covenant commitments (CashTokens), • 2025: Density-based general limits and BigInts, • 2026: Loops, functions, bitwise, and Pay-2-Script. Each upgrade carefully preserved Bitcoin Cash's transaction-level parallelization, enabling global-scale, layer-1 throughput – without compromising Bitcoin Cash's scalability, decentralization, and censorship-resistance. Fully-validating, archival BCH nodes run on consumer hardware and still outperform clusters of high-powered, centralized sequencers required by account-based networks. With this upgrade, CashVM becomes even more powerful, allowing contract developers to efficiently implement post-quantum cryptography, homomorphic encryption, zero-knowledge proof systems, and more – without waiting for network upgrades. Case Study: Quantumroot Quantumroot is a quantum-secure vault contract design offering full 256-bit classical, 128-bit quantum security strength. Possible since May 2025, but made 10-100× more efficient by the 2026 upgrade: Quantumroot sweep transactions are 15% smaller per-UTXO than P2PKH wallets. Upgrade Details The 2026 upgrade includes four Bitcoin Cash Improvement Proposals (CHIPs): Loops CHIP Introduces the well-established, OP_BEGIN/OP_UNTIL loop construction to CashVM, bounded by the density-based limits activated in the 2025 upgrade. Loops eliminate duplication in repeated procedures, significantly reducing transaction sizes and enabling previously impractical constructions. Functions CHIP Enables factoring of contract bytecode into reusable functions with OP_DEFINE/OP_INVOKE, eliminating duplicated logic and reducing transaction sizes. Functions improve the efficiency of complex financial and cryptographic computations, including zero-knowledge proof verification, homomorphic encryption, post-quantum cryptography, and more. Bitwise CHIP Re-enables bitwise operations, including OP_INVERT for bit inversion, arithmetic shifts (OP_LSHIFTNUM and OP_RSHIFTNUM) for numeric values, and binary/logical shifts (OP_LSHIFTBIN and OP_RSHIFTBIN) for binary data. These operations allow CashVM contracts to more efficiently implement a variety of financial and cryptographic algorithms. Pay-2-Script CHIP Makes Pay-2-Script (P2S) outputs standard, enables longer token commitments (up to 128 bytes), and unifies the standard unlocking bytecode length limit with the consensus limit (10,000 bytes). These changes improve wallet ecosystem safety, simplify contract design, and reduce transaction sizes for many vault, multi-party covenant, and decentralized financial applications.Technical Specs For more details, see the CHIPs: - Loops: github.com/bitjson/bch-lo… - Functions: github.com/bitjson/bch-fu… - Bitwise: github.com/bitjson/bch-bi… - Pay-2-Script: github.com/bitjson/bch-p2s
Jason Dreyzehner tweet mediaJason Dreyzehner tweet media
English
10
57
144
16.5K
Chaingraph
Chaingraph@ChaingraphCash·
@HelmPack This upgrade includes @bitcoincashnode pre-release v28.0.2: x.com/ChaingraphCash…
Chaingraph@ChaingraphCash

The Chaingraph developers have verified the deterministic build of @bitcoincashnode's 2026 upgrade pre-release. The verified version is now available on Docker Hub: docker pull chaingraph/bitcoin-cash-node:28.0.2 Built by GitHub action run: 19323854268 The deterministic build of bitcoin-cash-node-28.0.2-x86_64-linux-gnu.tar.gz at commit hash 14a565ac38f6593dc55fd264a46e735242c0af86 is 140b44fd76a4f9428354bfbec4800d58fd39fb723320e761a035f15c2dd43596.

English
0
0
6
83
Chaingraph
Chaingraph@ChaingraphCash·
Chaingraph v1.3.4 is now available 🚀 This upgrade supports Bitcoin Cash's May 2026 upgrade: Loops, Functions, Bitwise, and Pay-to-Script. To upgrade with @HelmPack:
Chaingraph tweet media
English
1
8
22
1.6K
Chaingraph
Chaingraph@ChaingraphCash·
The Chaingraph developers have verified the deterministic build of @bitcoincashnode's 2026 upgrade pre-release. The verified version is now available on Docker Hub: docker pull chaingraph/bitcoin-cash-node:28.0.2 Built by GitHub action run: 19323854268 The deterministic build of bitcoin-cash-node-28.0.2-x86_64-linux-gnu.tar.gz at commit hash 14a565ac38f6593dc55fd264a46e735242c0af86 is 140b44fd76a4f9428354bfbec4800d58fd39fb723320e761a035f15c2dd43596.
English
2
3
18
1.9K
Chaingraph
Chaingraph@ChaingraphCash·
@bitcoincashnode The Chaingraph developers have now verified this deterministic build ✅ x.com/ChaingraphCash…
Chaingraph@ChaingraphCash

The Chaingraph developers have verified the deterministic build of @bitcoincashnode's 2026 upgrade pre-release. The verified version is now available on Docker Hub: docker pull chaingraph/bitcoin-cash-node:28.0.2 Built by GitHub action run: 19323854268 The deterministic build of bitcoin-cash-node-28.0.2-x86_64-linux-gnu.tar.gz at commit hash 14a565ac38f6593dc55fd264a46e735242c0af86 is 140b44fd76a4f9428354bfbec4800d58fd39fb723320e761a035f15c2dd43596.

English
0
0
4
34
Bitcoin Cash Node
Bitcoin Cash Node@bitcoincashnode·
The BCHN 2026 upgrade preview build is here, with Bitwise, Function, Loops and Pay-to-Script! The relevant new features will activate on chipnet 2025/11/15, and barring unforseen problems, on mainnet 2026/5/15.
English
3
8
26
711
Chaingraph nag-retweet
Jason Dreyzehner
Jason Dreyzehner@bitjson·
In anticipation of future Zero-Knowledge Proof (ZKP) Bitcoin Cash covenants, I've been reviewing how to make implementation in wallets as practical and private as possible. I expect now that many ZKP covenant systems can be fully supported by generalized "wallet engine" infrastructure, such that software which supports wallet templates will be able to simply import and use ZKP covenant wallet templates (create a wallet, scan for matching UTXOs, and deposit, transfer within, and withdraw from public ZKP covenants) with minimal integration work. However, the Bitcoin Cash P2P protocol has two areas requiring improvements for better privacy in real-world usage: - Transaction origin exposure – network-level adversaries can trivially identify the node which first broadcasts most transactions. Many end-user wallets are partially protected from network-level monitoring by broadcasting via a backend controlled by their wallet vendor or community-run Fulcrum servers (Electrum protocol), but this comes at the cost of leaking far more actionable data to those providers (who in many cases are also servicing "balance checks" and other queries that reliably de-anonymize all of the end-user's activity). - Cleartext network communications – the Bitcoin Cash P2P protocol does not support any form of encryption, so network-level adversaries can very easily identify and track all activity, simplifying and lowering the cost of both censorship and attacks on privacy. Some ideas I've reviewed: A new "`ONION_TX`" P2P protocol extension: We could add a Tor-like transaction broadcast protocol where the transaction is encrypted to a path of known "onion-capable" nodes. However, powerful network-level attackers could likely still correlate traffic in and out of circuits with timing analysis – at the very least, much of the rest of the network would need to upgrade to encrypted connections as well. Additionally, it's very hard to protect against denial-of-service attacks: even if nodes temporarily remembered onion TXs they forwarded, and we added a backwards-propagating `ONION_ABUSE` message to allow nodes in the circuit to blame a misbehaving node, the originating node may always plausibly claim to be a victim of an earlier non-existent node. Compare that with our existing protocol, which is very byte-efficient at banning misbehaving peers for wasting bandwidth on invalid transactions. (And of course transaction fees impose a cost on valid transaction bandwidth.) Note also that BCH nodes can already connect via Tor, which probably offers both better privacy and greater resistance to denial-of-service attacks (due to the size of the existing Tor network). TLDR: An "onion" extension would be complex, easily abused, and ultimately less private than network-layer encryption + a deniable broadcast solution (Dandelion++ or Clover). BIP324 opportunistic encryption: Bitcoin Cash nodes could implement BIP324, an upgrade to add encryption to the existing P2P protocol. If our only goal were to better protect traffic against powerful network-level adversaries, this solution seems hard to beat: maximally simple, pseudorandom bytestream, shapable for better censorship resistance, etc. However, implementation is not trivial: it's a new, special-purpose protocol with relatively little ecosystem support (some scattered patches for various BTC software, early support in a few BTC-only libraries). It's quite hard to justify this additional work and maintenance when compared to adopting a more widely-used stack like Noise or libp2p, for which better-reviewed libraries already exist in a variety of language/programming environments. Further, even if encryption support were successfully deployed to 100% of BCH nodes, we'd still need solutions for transaction origin exposure – well-connected adversaries could still trivially identify originating nodes on the main network, and the status quo of wallets leaking private info to backend servers would remain unchanged. In fact, even coupled with a deniable broadcast solution like Dandelion++ or Clover, practical privacy for most end-users would still remain highly vulnerable to trusted backends. To create plausible deniability in light client transaction broadcast, you need the light clients to also be plausibly participating in the deniable broadcast protocol, i.e. light clients with peer connections to other nodes and light clients. Implementing BIP324 would bring encryption to the existing P2P network, but it wouldn't improve the privacy of most light wallets – for that we need to make it easier for light wallets to broadcast transactions directly over the P2P network (even if they still leak other info to backend servers rather than internally running pruned or SPV nodes). TLDR: a partial solution to cleartext P2P communications, but at significant implementation cost, with little new practical privacy for most light wallets users. --- Proposals for Bitcoin Cash: With that background, I'd like to outline some solutions I'm exploring. These might eventually become CHIPs to make them easier to talk about, but note that they're much "lower-stakes" than VM changes: there's no consensus or widely-coordinated upgrade needed here, nodes and wallets can choose to start or stop speaking protocols whenever they like, and it's likely we'll iterate a bit. Implement `PTX` messages ("Clover") In my opinion, Clover is a clear improvement over Dandelion++ – it's simpler, faster, more byte efficient, has fewer pitfalls, and offers overall better privacy to all network participants. In short: nodes add a new `PTX` ("proxy TX") message type equivalent to the `TX` type, but quietly relayed based on some simple rules such that the network first "hears" it via the standard `INV` diffusion after a few hops. When performed across encrypted connections, this offers similar privacy to an "onion" extension, but without the denial-of-service issues. Note that even the first peer to receive the `PTX` can't know if the originator was simply forwarding it, so they learn only slightly more than if they were passing along an onion-encrypted payload. However, with the payload visible, they 1) are not wasting bandwidth (they won't need to `GETDATA` the TX again later) and 2) can easily see if it's invalid and ban misbehaving peers. Without encryption, the originator of each `PTX` message is still easily tracked by powerful network-level adversaries, but when combined with some P2P layer encryption solution (and perhaps if messages are padded to a fixed length), we get Tor-like privacy without the DoS exposure. One BCH-specific detail: nodes must advertise in service bits whether or not they support `PTX`, and only forward `PTX` to other supporting nodes. With BCH's annual upgrades, we're likely to have great support relatively quickly, but it's important that `PTX` "support" remains optional (e.g. @ChaingraphCash probably won't implement the `PTX` forwarding behavior, so if nodes blindly selected a Chaingraph agent to send a `PTX`, propagation would be delayed until a previous node's timeout was triggered.) Some node implementations will never bother to implement, and that's fine. Implement optional `libp2p` transport protocols: The libp2p project seems to have come a long way in standardizing various transport protocols, implementing native libraries in a variety of languages, and resolving earlier resource exhaustion issues. A number of cryptocurrency projects now use libp2p, including Ethereum since 2023. I'd love to see BCH node implementations experiment with using libp2p libraries to support the TCP + Noise + Yamux, WebTransport, and WebRTC libp2p transport protocols. This would unlock P2P network compatibility with the web platform, enabling: - Web-based peers that can easily contribute bandwidth from any connection (like Tor's Snowflake project), - Stronger censorship resistance: more protocol options to route around censorship/damage, and BCH traffic can blend in with video calls (WebRTC) and HTTP/3 (WebTransport), - Strongly-private, PWA-based nodes and severless wallets, - Simpler, JS-only P2P connection code in web-stack based software (e.g. wallets built with Electron, Tauri, Expo, React Native, Capacitor, etc.) Rough sketch of the necessary parts: - Reuse most of existing P2P message formats after libp2p handshakes – can simply remove the checksum field (as the transport layers handle message integrity). The `addr` message format would continue to enable "v1" P2P discovery. - Extend the existing `version` handshake to enable immediately upgrading to libp2p WebTransport for the performance and encryption, or libp2p TCP for the encryption. - Seeder support for JSON responses – we need some seeder (like BCHN's) to support listening on a port and returning the list via HTTP in JSON format. (Seeder operators should also set up HTTPS with Caddy or something.) The JSON response should only include nodes with libp2p interfaces enabled (and returned records should allow for opening WebTransport and/or WebRTC connections). Long term, I hope to add support in @Libauth for locally running a fast-syncing pruned node in the browser, Node.js, Deno, Bun, etc. such that Libauth-based wallets can both participate in `PTX` ("Clover") broadcasting and scan for their own UTXOs without leaking info to backends (at the cost of local storage and bandwidth usage). Clients running in Node.js, Deno, or Bun would bridge between v1 P2P nodes and libp2p-connected nodes to help bootstrap the libp2p-based network (stretch goal: a PWA and/or browser extension-based full node with support for ~1MB sub-block progressive knockout filters). --- Does anyone see areas for improvement over PTX messages + encrypted libp2p transports? I also posted this on Bitcoin Cash Research, ideas and feedback welcome.
English
8
28
100
7.5K
Chaingraph nag-retweet
Mathieu Geukens
Mathieu Geukens@GeukensMathieu·
For all (aspiring) BCH devs, I published a new NPM library 'Chaingraph-ts', a TypeScript library that simplifies using @ChaingraphCash by providing type-safe GraphQL interactions and helper functions. Being able to query any data you want on the blockchain or having live subscriptions to any events, enables a ton of new applications. 😎 I use it for my airdrop tool, token-explorer, auth-update tool and more! So with the library it's now also easy for others to start leveraging the power of chaingraph. The Features of the library are: Type-Safe Interactions: Fully typed graphql function through gql-tada for custom GraphQL operations. Prebuilt Helper Functions: Includes ready-to-use functions for common tasks, such as: getRawTransaction: Retrieve raw transaction hex by transaction ID. sendRawTransaction: Broadcast a raw transaction to the network. getUtxosForAddress: Fetch UTXOs for a given address. No Setup Required: Start quickly without the need to configure the generated types and the graphQl client configuartion manually. Hope this will be helpful to other devs! 💚
English
6
22
68
1.9K
Chaingraph nag-retweet
Jason Dreyzehner
Jason Dreyzehner@bitjson·
The May 2025 upgrade to Bitcoin Cash is now active on chipnet at block 227,228! 🎉 (0000000000b8dc4625844fa367b12317645fac7c9afbc5fb8def4025a6822c86) This upgrade includes two Bitcoin Cash Improvement Proposals (CHIPs): Targeted Virtual Machine Limits CHIP The VM Limits CHIP retargets Bitcoin Cash's Denial-of-Service limits to extend compute for real contracts by more than 100x while reducing worst-case node compute usage by 50%. By reducing overhead, the retargeted limits simplify contracts, reduce transaction sizes, streamline contract audits, and improve overall security. By improving contract efficiency, this upgrade also makes important use cases more practical, including post-quantum cryptography, stronger escrow and settlement strategies, zero-knowledge proofs, homomorphic encryption, and other crucial innovations for the future security and competitiveness of Bitcoin Cash. Finally, this upgrade raises the bar by contributing new tooling and a cross-implementation benchmarking methodology to continuously verify node performance. Beyond empirically verifying the safety and correctness of the upgrade, these tools will simplify development of new production-ready implementations, prevent regressions in existing implementations, and reduce the cost of verifying implementation-specific software updates. BigInt CHIP: High-Precision Arithmetic for Bitcoin Cash The BigInt CHIP enables high-precision math for Bitcoin Cash, offering over 10x reductions in contract lengths and making previously-theoretical use cases immediately practical: more advanced automated market making and exchange protocols, decentralized stablecoins, collateralized loan protocols, cross-chain and sidechain bridges, zero-knowledge proofs, post-quantum cryptography, homomorphic encryption, and more. This upgrade takes full advantage of Bitcoin Cash's fundamentally more scalable architecture to offer math capabilities which exceed those of Ethereum: "bare metal" performance, more byte-efficient transactions, far lower transaction fees, and protocol-level simplicity that eliminates whole classes of Ethereum contract vulnerabilities. These capabilities are available to Bitcoin Cash contracts on "layer one" – ensuring security, censorship resistance, and cross-contract compatibility – without increasing compute requirements: fully-archiving Bitcoin Cash nodes can continue to run on inexpensive, consumer hardware. Learn More To learn more about the upgrade or the CHIP upgrade process, please see this earlier post: x.com/bitjson/status…
Jason Dreyzehner tweet media
English
3
45
142
10.9K
Chaingraph nag-retweet
Chaingraph nag-retweet
Jason Dreyzehner
Jason Dreyzehner@bitjson·
Bitcoin Cash's November 15th chipnet lock-in is almost here, and the VM Limits & BigInt CHIP upgrades are expected to activate in 2025! 🚀 If you run a node on chipnet, please upgrade today! Over the past 6 weeks, we’ve been requesting final approval from all stakeholders: over 400 companies, organizations, and projects from across the Bitcoin Cash (BCH) ecosystem. We recognize that taking a public position on a network upgrade requires time, resources, and commitment to advancing Bitcoin Cash. Thank you to all of the organizations and individuals who have participated during this lock-in process. Thank you to all contributors to these proposals. Technical feedback has been incorporated over dozens of revisions, and the upgrade is now meticulously optimized and widely reviewed – over 6 months before mainnet activation. My summary, endorsement, and links to the VM Limits CHIP: x.com/bitjson/status… My summary, endorsement, and links to the BigInt CHIP: x.com/bitjson/status… Again, if you run a chipnet node, be sure to upgrade before chipnet activation: ~30 hours from the time of this post! Verified builds and a docker image are available: x.com/ChaingraphCash…
English
0
33
92
3.9K
Chaingraph
Chaingraph@ChaingraphCash·
The Chaingraph developers have verified the deterministic build of BCHN's 2025 upgrade pre-release. The verified version is now available on Docker Hub: docker pull chaingraph/bitcoin-cash-node:27.1.1 Built by GitHub action: github.com/bitauth/chaing…
English
1
6
15
996
Bitcoin Cash Node
Bitcoin Cash Node@bitcoincashnode·
BCHN maintainers now consider VM Limits and BigInt CHIPs locked in by overwhelming community support. Our v28 release implementing these CHIPs will take a little longer, but Chipnet operators should upgrade to the prerelease version at download.bitcoincashnode.org/misc/builds/up…
English
3
22
53
2.6K
Chaingraph
Chaingraph@ChaingraphCash·
@bitcoincashnode We verified that the deterministic build of "bitcoin-cash-node-27.1.1-x86_64-linux-gnu.tar.gz" at commit hash "491c9265d12b53a04fe12e1db5df21140d6a5bfe" is "2a20111c97013e42f82e96691c438600cc30fe6c73b55df830265f1c7421a2f6". x.com/ChaingraphCash…
Chaingraph@ChaingraphCash

The Chaingraph developers have verified the deterministic build of BCHN's 2025 upgrade pre-release. The verified version is now available on Docker Hub: docker pull chaingraph/bitcoin-cash-node:27.1.1 Built by GitHub action: github.com/bitauth/chaing…

English
0
1
8
387
Chaingraph nag-retweet
Jason Dreyzehner
Jason Dreyzehner@bitjson·
On behalf of @BitauthIDE, @ChaingraphCash, and @libauth, I'm endorsing two Bitcoin Cash Improvement Proposals (CHIPs) for the 2025 upgrade cycle: - CHIP-2021-05 VM Limits: Targeted Virtual Machine Limits - CHIP-2024-07 BigInt: High-Precision Arithmetic for Bitcoin Cash
English
5
22
73
11.7K
Chaingraph nag-retweet
Jason Dreyzehner
Jason Dreyzehner@bitjson·
Hi all, @telegram seems to have randomly marked me as a spam bot. My account was restored moments later (no evidence of compromise in logs), but my message history now seems to be deleted from both DMs and public channels. I have some backups, but I'm not certain if messages will be restored or if my account will be deleted in the future. I'll follow up here if I need to move chat groups for @libauth, @BitauthIDE, @ChaingraphCash, @CashTokensOrg, and other projects to a new platform. If you were in an open source development group with me on Telegram, I'd appreciate it if you could share this message with any relevant groups or contacts.
Jason Dreyzehner tweet media
English
6
4
33
1.4K
Chaingraph nag-retweet
Mathieu Geukens
Mathieu Geukens@GeukensMathieu·
Big sense of accomplishment! After being stuck with manually typed GraphQL responses for a while now, I was finally able to solve it! Just got @ChaingraphCash's GraphQL API fully integrated with Typescript thanks to 'gql-tada 🎉' and 'graphql-request' Thanks @JoviDec for the help 😃 Here is the setup for anyone else interested: github.com/mr-zwets/chain…
English
1
6
33
588
Chaingraph
Chaingraph@ChaingraphCash·
Chaingraph v1.3.2 is now available! This release includes @bitcoincashnode v27.0.0, the release supporting Bitcoin Cash's May 2024 upgrade: Adaptive Blocksize Limit Algorithm. To upgrade with Helm:
Chaingraph tweet media
English
0
6
19
830
Chaingraph
Chaingraph@ChaingraphCash·
The Chaingraph developers have verified the deterministic build of BCHN version v27.0.0. The verified version (commit 49ad6a9a95bda543926ec90d07e7bd266581c4d0) is now available on Docker Hub: docker pull chaingraph/bitcoin-cash-node:27.0.0 Built by GitHub action: 7197423411
Bitcoin Cash Node@bitcoincashnode

Announcing Bitcoin Cash Node v27.0.0 @bitcoincashnode/announcing-bitcoin-cash-node-v2700-0b7d7452" target="_blank" rel="nofollow noopener">read.cash/@bitcoincashno

English
0
1
9
513