Transaction creation

xchain-encoder

Turns an ACTION into a ready-to-sign transaction.

Live today onBitcoin·Litecoin·Dogecoin·more chains coming

Where it fits

SDK · Wallet Encoder Signed PSBT Blockchain

Stateless: turns an ACTION into an optimally-encoded, unsigned transaction the caller signs and broadcasts.

What it is

The encoder converts an ACTION string, a set of UTXOs, and a public key into an unsigned PSBT, defaulting to OP_RETURN for small payloads and P2SH beyond that, or, on request, the smallest-footprint carrier the network and signer support.

How it fits into the platform

Client-side construction: the SDK and wallet call it to build transactions, which the caller then signs and broadcasts. It is fully stateless.

What it can do

  • Defaults to OP_RETURN or P2SH; opt-in size-aware selection can also pick P2WSH or Taproot (multisig stays an explicit request)
  • Carries compiled ACTION payloads up to 8,192 bytes, chunked across a fund-then-reveal transaction pair on the P2SH and P2WSH lanes
  • An opt-in Taproot envelope (commit plus reveal) raises that ceiling to 390,000 bytes, on chains and signers that support Taproot
  • Obfuscates payloads deterministically (AES-128-CTR)
  • Runs as a Node service or a browser bundle

Under the hood

  • Stateless: no storage, no outbound calls
  • bitcoinjs-lib
  • webpack browser build

← Back to the services