Skip to content
David Cumps

Chainflip

  • Chainflip Labs
  • 2021-2026

Chainflip is a decentralised protocol for native cross-chain swaps between Bitcoin, Ethereum, Solana, Polkadot, Arbitrum and Tron, without wrapped tokens or bridges. I worked on it as a freelancer in 2021 and 2022, on its AWS infrastructure and on the tooling behind its test networks, and kept building around it after that: the InfoBot, Chainflip’s data on DefiLlama, its documentation, and a dashboard for validator operators.

The InfoBot. In 2024 I built FLIP InfoBot, which turned Chainflip’s on-chain data into readable posts on X as @ChainflipBot, on Discord, Telegram and Mastodon: notable swaps and incoming liquidity, epochs, funding and redemptions, FLIP burns, daily volume, FLIP moving on and off exchanges, the CFE version each validator runs, and changes to swap limits. I maintained it until Chainflip took it in-house in October 2024.

Infrastructure. I wrote Ansible playbooks for the infrastructure and helped set up Chainflip’s initial AWS environment.

A testnet from every pull request. Opening a pull request with a new network config file spun up a disposable testnet on DigitalOcean; merging a removal tore it back down. I wrote the GitHub Actions workflows behind this: they drove Terraform through a per-PR workspace, reported progress back as a GitHub deployment, and kept the PR labelled testnet-deploying, testnet-running or testnet-failed as the run went. I also wrote the small Rust CLI, chainflip-testnet, that the workflows called to create and destroy a network, talking to the GitHub API through octocrab.

Images and provisioning. Each node booted from a DigitalOcean snapshot I built with Packer and provisioned with my own Ansible roles for CA certificates and apt upgrades; Terraform ran the same roles again against the live node once it came up, over SSH.

Data and documentation. In November 2023 I added Chainflip to DefiLlama, the DeFi dashboard, with an adapter for the value locked in the protocol, and in August 2024 I added adapters for Chainflip’s fees and swap volume. I also proposed the FLIP token for Trust Wallet’s asset list. Between 2023 and 2025 I contributed to Chainflip’s documentation at docs.chainflip.io: I restructured the integration docs and wrote the swapping quick start, and fixed pages on funding and bidding, recovering private keys, the LP API and slippage protection, plus broken links and typos on the newer docs portal.

Watching the validators. Between October 2025 and February 2026 I built the Chainflip Operator Dashboard for validator operators. Pick an operator and it shows each of its validators as green, yellow or red, based on whether it’s online and on its reputation score, with the fleet’s overall health and the progress of the current epoch on top. During a network incident a validator’s reputation can fall from full to disqualified in about five minutes, so the page refreshes every 30 seconds and backs off when Chainflip’s API rate-limits it. It’s a static page in plain HTML, CSS and JavaScript that queries Chainflip’s public GraphQL endpoints straight from the browser, deployed to GitHub Pages by GitHub Actions, which minifies it on the way. I planned and built it story by story with AI coding agents, across six epics.

Announcing delegations. Next to the dashboard, I wrote a Telegram bot in Rust for Staking as a Service, a Chainflip validator operator, between November 2025 and March 2026. Every five minutes it runs as a Kubernetes CronJob, reads the operator’s delegations from Chainflip’s GraphQL API, and posts new delegations and increases to the operator’s Telegram channel. State lives in PostgreSQL with compile-time checked queries through sqlx, so a delegation is announced exactly once, logs go to Seq with wallet addresses shortened, and a dry-run mode shows what it would post. GitHub Actions builds the image and deploys it with Helm.

Running Chainflip nodes outside that work led to chainflip-docker, an open-source setup for running Chainflip in Docker, and later to Swappy and Broker as a Service. In 2024 my Stablecoin Liquidity Provisioning Bot won first place in the Chainflip General Track of Chainflip’s Cross-Chain Summer Hackathon, where I also gave the opening workshop.

Technologies: Ansible, AWS, Terraform, Packer, Rust, GitHub Actions, DigitalOcean, Docker, Kubernetes, Helm, PostgreSQL, sqlx, Seq, Linux, C#, .NET, Discord, Telegram, Mastodon, X API, DefiLlama adapters, TypeScript, MDX, GraphQL, JavaScript, GitHub Pages, AI coding agents, bot development, blockchain node operations.

You May Also Like