paystand symbol white logoAR + PAYMENTS
|
AP + EXPENSE
|
LATAM AR + AP
|
FX + PAYOUTS
|
.org
  • Receivables

    ACCOUNTS RECEIVABLES

    • Automatic Reconciliation
    • Collections Automation
    • Payment Portal
    • Convenience Fees & Incentives
    • Billing & Receivables Automation
    • Dashboard & Reporting
    • NetSuite NetSuite
    • Sage Intacct Sage Intacct
    • Dynamics 365 Dynamics 365
    • Acumatica Acumatica
    • Adobe Commerce Adobe Commerce
    • BigCommerce BigCommerce
    • Woo Commerce Woo Commerce
    • Xero Xero
    • All Integrations All Integrations
  • Payables

    ACCOUNTS payables

    • AP Automation
    • Accounting Automation
    • International Payments
    • Purchase Order Approvals & Spend Approvals
    • Customer Portal

    WHY NOW

    Our push into Accounts Payables comes with our mission of becoming the one stop shop for the CFO.

    By integrating AP, our financial suite becomes even more powerful as we aim to automate everything money.

  • Payments

    OUR NETWORK

    Discover how we enable your business to receive fee-less payments at a faster speed than your current solution.

    We transition your costliest payers into cost-effective payment rails to return the most positive of ROIs.

    OVERVIEW

    • B2B Payments
    • Paystand Bank Network
    • Check Scan
    • eCheck and ACH
    • Smart Lockbox
    • Canadian EFT
    • Push Payments (AI Match)
  • Expense

    EXPENSE

    • Spend Management
    • Corporate Cards
    • Procurement
    • Spend Analytics
    • Slack Slack
    • Microsoft Teams Microsoft Teams
    • Quickbooks Online Quickbooks Online
    • NetSuite NetSuite
    • Sage Intacct Sage Intacct
    • Microsoft Dynamics 365 Microsoft Dynamics 365
    • All Integrations All Integrations
  • Resources
    • Blog
    • Case Studies
    • Glossary
    • Podcast
    • Events
    • Webinars
    • Datasheets
    • eGuides

    INDUSTRIES

    • Healthcare
    • Manufacturing
    • Construction
    • Supply Chain
    • Solar Energies
    • Retail
    • Wholesale

    DATA & INFRASTRUCTURE

    • Enterprise Blockchain
    • APIs

    LEARNING RESOURCES

    • Improving Cash Flow
    • Optimizing AR
    • Reducing Costs
    • Bitcoin at Paystand
  • Company

    Company

    Paystand is revolutionizing B2B payments with a modern infrastructure built as a SaaS on the blockchain, enabling faster, cheaper, and more secure business transactions.

    Our mission is to reboot commercial finance by creating an open financial system.

    Payments as a Service

    PARTNERS

    Join Paystand's partnership program today.

    Become a Partner

    PRESS

    Read about Paystand business updates and technology announcements.

    Read About Paystand

    CAREERS

    Join our fast-growing team of disruptors and visionaries.

    Grow With Paystand

    ABOUT US

    See how we are rebooting commercial finance.

    Learn About Our Mission

    Where We Operate

    United states

    USAPaystand is headquartered in California and operates nationwide, serving businesses across all 50 states.

     

    canada

    CANADAWe support operations in Canada with localized payment capabilities, including CAD EFT and cross-border support.

Bitcoin
Get Started
  • Login
  • Receivables
    • Automatic Reconciliation
    • Collections Automation
    • Payment Portal
    • Convenience Fees and Incentives
    • Billing & Receivables Automation
    • Dashboard & Reporting
    • NetSuite
    • Sage Intacct
    • Dynamics 365
    • Acumatica
    • Adobe Commerce
    • BigCommerce
    • WooCommerce
    • Xero
    • All Integrations
  • Expenses
    • Spend Management
    • Corporate Cards
    • Procurement
    • Spend Analytics
    • Slack
    • Microsoft Teams
    • Quickbooks Online
    • NetSuite
    • Sage Intacct
    • Microsoft Dynamics 365
    • All Integrations
  • Payables
    • AP Automation
    • Accounting Automation
    • International Payments
    • Purchase Order Approvals & Spend Approvals
    • Customer Portal
  • Payments
    • B2B Payments
    • Paystand Bank Network
    • Check Scan
    • eCheck and ACH
    • Smart Lockbox
    • Canadian EFT
    • Push Payments: AI Match
  • Resources
    • Blog
    • Case Studies
    • Datasheets
    • eGuides
    • Events
    • Webinars
    • Glossary
    • Podcasts
    • Improving Cash Flow
    • Optimizing AR
    • Reducing Costs
    • Bitcoin at Paystand
    • The Future of Finance - Get Your Copy
    • Enterprise Blockchain
    • APIs
  • Industries
    • Healthcare
    • Manufacturing
    • Construction
    • Supply Chain
    • Retail
    • Solar
    • Wholesale
  • Company
    • Abous Us
    • Payments as a Service
    • Become a Partner
    • Press
    • Careers
  • Login
  • Get Started

Moving Our Anchor: Why We Came Back to Bitcoin for Blockchain State Pinning for the Paystand B2B Network

In engineering, every architecture is a negotiation with reality. Trade-offs, constraints, and shifting ground truths constantly force us to reassess the systems we build. At our company, we’re reimagining B2B payments by shifting value flows from traditional rails to blockchain and Bitcoin. We recently made another one of those critical shifts: we moved our state-pinning architecture from Ethereum back to our Bitcoin roots.

This wasn’t just a refactor or a routine optimization. It was a recalibration of our trust anchor — the foundation of how we cryptographically assure the integrity of the payment events tracked within our internal blockchain.

Here’s why we did it, how we did it, and what it means for the future of enterprise-grade crypto infrastructure.

Section 00- Bitcoin Anchor

Why Pin at All? Trustless Anchors in a Permissioned World

We run an internal permissioned blockchain, built on a forked Ethereum codebase. It powers our Assurety system — a real-time audit layer that tracks, notarizes, and validates payment events flowing through our network.

While our blockchain is permissioned for operational and performance reasons, we’ve never wanted our users to rely solely on our word. That’s why, from the beginning, we tethered it to the Ethereum mainnet using anonymous state pinning — embedding cryptographic commitments (hashes of our internal chain’s state root or Merkle root) into public Ethereum transactions.

This created a form of external accountability. If someone ever questioned whether we had tampered with our internal ledger, we could point to immutable, timestamped pins anchored in Ethereum to prove otherwise. Think of it like writing a single sentence each day in a newspaper — a small, verifiable signal that no rewrite can erase.

But the mechanism had issues.

Section 01- Ethereum vault

The Ethereum Approach: Overkill with a Price Tag

Ethereum gave us flexibility — a full-fledged virtual machine, a composable smart contract system, and an active ecosystem of tooling and infrastructure. Early on, we leaned into that flexibility. We built a fairly involved smart contract layer to manage our state pinning process. It worked. But it came at a cost.

Over-Engineering: Our contracts weren’t just posting hashes. They included metadata, structured verification logic, and role-based access. We had good reasons at the time, but in hindsight, we brought a rocket launcher to a campfire.

Gas Costs: It wasn’t the act of pinning per se that cost us — it was the weight of the smart contract execution. Complex calls, storage writes, and calldata encoding all contributed to gas spikes, especially during periods of network congestion. The variability made predictable cost modeling difficult.

Operational Overhead: Maintaining smart contracts on Ethereum is like maintaining production infrastructure in space. Every change is expensive, public, and hard to reverse. Audits are mandatory. Even routine updates require migrations and backward compatibility concerns.

On-Chain Complexity: Publishing smart contracts meant making our logic permanent and publicly accessible. Even though the logic was straightforward, every new function added long-term responsibility. More on-chain logic meant more moving parts to audit, maintain, and support over time — a high commitment for infrastructure that should’ve been simpler.

Eventually, we stepped back and asked: what’s the real job to be done here? Do we need on-chain validation logic, or just an immutable, timestamped cryptographic anchor?

That question pointed us somewhere simpler, leaner, and closer to our roots.

Section 02- ethereum rocket

Reframing the Need: What We Actually Want from Pinning

What we really care about is this:

  • Immutability: Once pinned, it must be practically impossible to remove or falsify the commitment.

  • Liveness: Pins must be publicly verifiable and reliably posted at regular intervals.

  • Decentralization: The ledger holding the pins should be broadly distributed and resistant to capture.

  • Alignment: Ideally, the chain we pin to reflects our philosophical and operational direction.

And this last one was the clincher. We’re a Bitcoin-aligned company. We already contribute to the Bitcoin network via mining. We believe in the monetary properties of Bitcoin, and many of our future products are designed to orbit around it. So why not pin to the chain we already live on?

Section 03- ethereum rocket

Switching to Bitcoin: Simpler, Leaner, Stronger

Pinning to Bitcoin means doing less — and that’s a feature.

Unlike Ethereum, Bitcoin has no generalized smart contract layer. But what it does have is an unshakable ledger of transactions and the longest-running proof-of-work network in history. To pin state data to Bitcoin, we simply commit a hash in an OP_RETURN output in a standard Bitcoin transaction.

Here’s what we implemented to make the switch:

  1. State Root Hashing

At regular intervals, we generate a Merkle root of our internal blockchain’s state. This root summarizes the integrity of our payment data, including block headers and transaction payloads. Each root acts as a cryptographic fingerprint for the state of the network at that moment in time.

  1. Minimalist Bitcoin Transaction Composer

We created a lightweight Bitcoin transaction builder that:

- Selects UTXOs from a hot wallet we control

- Builds a transaction with a small fee

- Embeds the Merkle root in an OP_RETURN field

-Broadcasts via our node or a relay partner


  1. Broadcast and Monitor

Once the transaction is broadcast:

- We wait for 6+ confirmations (depending on SLA)

- Store the transaction ID, timestamp, and Merkle root in our Assurety log

- Provide users a way to independently verify that the pinned hash exists on Bitcoin


  1. Verification via Dashboard

We expose verification capabilities directly in our Paystand Dashboard:

- Users can view historical Merkle roots alongside their corresponding Bitcoin transaction IDs

- Each root is linked to a specific snapshot of our internal chain

- Users can explore the data trail to validate that a given state was pinned and remains immutable

Section 04- Switch to Bitcoin

Benefits of Moving to Bitcoin

This new system is leaner, more aligned, and arguably more resilient:

  • Lower costs: Bitcoin transaction fees are simpler to reason about and often lower for small data.

  • Simpler logic: Less surface area, fewer moving parts, easier monitoring.

  • Aligned incentives: We’re anchoring to the monetary layer we believe in and actively support.

  • Broader base layer: Bitcoin’s network effect is larger than Ethereum’s in terms of decentralization and hash power.

Section 05- Bitcoin benefits

Closing Thoughts: Pinning with Purpose

We didn’t make this change just to check a box. For us, pinning is about proving that our internal systems can be trusted — not because we say so, but because the strongest ledger in the world agrees.

It’s also about coherence. We’re not just building payment rails with blockchain lipstick. We’re shifting value — and accountability — to open, verifiable networks. Bitcoin is where we’re staking our claim.

This move may seem small, a single transaction every few hours. But each one is a fingerprint, etched into a ledger that has never been rewritten, and never will be.

In a world full of ephemeral systems, that kind of permanence is rare. And for us, it’s exactly the kind of ground we want to build on.

© 2025 Paystand