DFR is a developer-facing access layer for multiple blockchains. It unifies chain access, RPC abstraction, transaction lifecycle, and event and error models behind one interface, so applications do not have to maintain separate RPC, retry, failover, and confirmation logic per chain.
DFR currently supports the Base Sepolia, Arbitrum Sepolia, and Ethereum Sepolia testnets, and Solana devnet.
packages/
core Transaction engine (build / simulate / broadcast / confirm state machine)
provider RPC abstraction, health scoring, circuit breaking, failover
registry Chain registry (schema + loader; chain config is supplied by the operator)
transaction Transaction encoding and lifecycle
storage-postgres Postgres transaction stores and migrations
telemetry Telemetry
metrics Metrics
events Event model (including SSE tickets)
errors Error model
types Shared types
adapters/
evm EVM chain adapter
solana Solana chain adapter
sdk/
typescript TypeScript SDK (read + write + events)
apps/
gateway HTTP API gateway (see docs/api/README.md for the contract)
services/
indexer Placeholder (README only; not yet implemented)
monitor Placeholder (README only; not yet implemented)
relayer Placeholder (README only; not yet implemented)
infrastructure/
docker Docker Compose files, gateway Dockerfile, .env.example (placeholders only)
monitoring Prometheus + Grafana samples
scripts/ Checks and drills (including scripts/check-secrets.sh)
tests/ Contract, integration, and end-to-end tests
docs/
api/README.md HTTP API guide (the public API document)
The public snapshot includes a sanitized packages/registry/config/chains.yaml with credential references and operator quota values omitted. Operators must configure their own endpoints, secrets, and quotas; never commit live values. See packages/registry/config/chains.schema.json.
Prerequisites: Node.js >= 22 and pnpm 9.4.0 (see package.json:
"packageManager": "[email protected]", "engines": {"node": ">=22"}).
pnpm installThe following commands are the scripts defined in the repository's
package.json. They were not verified in this staging snapshot — no build
or test run was performed while preparing it, and they were not
verified by executing them for this release. The root tsconfig.base.json and
vitest.config.ts are present:
pnpm test # vitest run (not verified in this snapshot)
pnpm typecheck # per-package typecheck (not verified in this snapshot)
pnpm start:gateway # start the HTTP gateway (not verified in this snapshot)To check this snapshot for secrets:
pnpm check:secrets # runs scripts/check-secrets.sh (read-only scan)Copy infrastructure/docker/.env.example to your own .env outside the
repository and fill in real values there. Never commit a real .env file:
.gitignore excludes .env, .env.*, *.key, *.pem, and secrets/.
pnpm test # full suite (not verified in this snapshot)
pnpm test:coverage # suite with coverage (not verified in this snapshot)tests/ contains contract tests (including the EVM and Solana adapter
contracts), integration tests against Sepolia testnets and Solana devnet, and
end-to-end gateway tests. Tests that touch live testnets need network access
and a configured registry; see docs/onboarding.md.
The HTTP contract is documented in docs/api/README.md. All endpoints
authenticate with an x-dfr-key: dfr_<keyId>_<secret> header. DFR never holds
user private keys: signing is done by an external signer, and the gateway
broadcasts once without automatic retry.
- Website: https://dfrchain.com
- Research notes: https://news.dfrchain.com
- Engineering notes: https://blog.dfrchain.com
- GitHub: https://github.com/dfrchain
Apache License 2.0 — see LICENSE. For publication boundaries, pre-existing open-source grants and private commercial components, see OPEN_SOURCE_BOUNDARY.md. Report sensitive security issues using SECURITY.md.