RWA Reference Architecture
RWA Reference Architecture
An RWA smart-contract reference architecture - the factory, funding, compliance, and distributor contracts that make up a production tokenization stack.
An RWA smart-contract reference architecture - the factory, funding, compliance, and distributor contracts that make up a production tokenization stack.
A production RWA tokenization stack is not one contract but a small system of them, each with one job: a factory that deploys a new token per asset, a funding contract that runs the raise, a compliance layer that enforces eligibility, and a distributor that pays holders.
Separating these concerns makes the system auditable, reusable, and safer - a flaw in one part is contained, and you can deploy a new deal without rewriting everything. This is the reference architecture we have found works for repeatable, compliant issuance.
Why separate contracts
Putting everything in one monolithic contract is tempting and wrong. It makes auditing harder, bugs more dangerous, and every new deal a bespoke rewrite. Splitting the system into focused smart contracts with clear responsibilities is the standard engineering move - and it matters more when real money and compliance are on the line.
The payoff is reuse: once each component is audited, you deploy new deals by configuration, not by writing fresh risky code each time.
The factory
RWA contract architecture
Distributor + treasury
Oracle-confirmed amounts
- Pays income to holders
Compliance layer
Eligibility + resale
- Identity registry, whitelist, rules
Funding contract
Protects investors
- Escrowed raise, primary issuance
Factory
Pre-audited template
- Deploys a token per asset
A factory contract deploys a new, standardized token (and its related contracts) for each asset or SPV. Instead of hand-writing a contract per property, you call the factory with the deal's parameters and it produces a consistent, pre-audited token.
This is how issuers scale to many deals safely. Every token comes off the same proven template, so you audit the factory and the template once, not each deployment.
The funding and compliance layers
The funding contract runs the primary issuance: it accepts investor subscriptions, often holds funds in escrow until the raise closes, and then issues tokens to buyers. Holding funds until close protects investors if the raise fails.
The compliance layer - commonly an identity registry and rules module, as in ERC-3643 - enforces the whitelist and transfer restrictions across the system, so every token inherits the same eligibility and resale logic.
The distributor and treasury
A distributor contract pays income to holders - rent, interest - in proportion to their holdings, pulling amounts from a treasury the SPV controls. Separating this from the token keeps payouts auditable and lets you change distribution logic without touching the token itself.
In practice this is where a controlled account like an SPV admin treasury feeds the distributor, with oracle-confirmed amounts so payouts match real collected income.
Putting it together
The pieces connect into a pipeline: the factory mints the token, the funding contract raises and issues, the compliance layer governs who can hold and transfer, and the distributor pays holders over the life of the deal - with oracles feeding real-world values where needed. Each is independently audited and reusable across deals. If you are earlier in the stack, step back to token standards first, then return here for how the whole system fits.
Where to go next
- Back to the hub: RWA smart contracts and tech stack.
- The foundation: token standards.
- Glossary: SPV admin treasury.
Sources: rwa.xyz; token-standard specifications, as of 2026.
Frequently asked questions
What does an RWA smart-contract architecture look like?
It is a small system of focused contracts rather than one: a factory that deploys a standardized token per asset, a funding contract that runs the escrowed raise and issuance, a compliance layer (identity registry and rules) that enforces eligibility and transfer restrictions, and a distributor that pays holders. Oracles feed real-world values where needed.
Why use separate contracts instead of one?
Separating concerns makes the system auditable, safer, and reusable. A flaw in one component is contained rather than system-wide, and once each part is audited you can launch new deals by configuration instead of rewriting risky code each time.
What is a factory contract in tokenization?
A factory deploys a new, standardized token and its related contracts for each asset or SPV from a pre-audited template. Instead of hand-writing a contract per deal, you call the factory with the deal's parameters, which is how issuers scale to many deals safely.
Educational content, not financial or legal advice. Tokenized assets carry risk; do your own research and consult a professional before investing.

Written by
Alex BerezhnykCo-founder, CTO · Co-founder & CTO, Unicorn Invest
Seasoned blockchain and web2 developer with entrepreneurship and investing experience, building Unicorn Invest's on-chain tokenization infrastructure.
Related Content
Whitelisting & Transfer Restrictions in Code
Whitelisting and transfer restrictions in a security token's code - how the contract checks approved wallets on every transfer to keep a regulated token compliant.
ERC-3643 vs ERC-1400: Token Standards
ERC-3643 vs ERC-1400 - the two leading compliant security-token standards compared on identity, transfer control, and flexibility, and how to choose for your RWA.
How to Deploy a Compliant Security Token
How to deploy a compliant security token step by step - choosing the standard, configuring the whitelist and transfer rules, auditing, and deploying safely.
token standards
Which SEC Exemption Fits Your Raise?
Which SEC exemption fits your raise? A decision guide for issuers - matching Reg D, Reg A+, Reg S, or Reg CF to your investors, raise size, and marketing plan.
Smart Contract
Glossary definition
Test your knowledge
Evaluate your RWA & tokenisation skills with our quests.
Pass 80% of all quests (7 of 8) to unlock your RWA Certificate.
RWA Foundations
The core ideas behind real-world-asset tokenization - wallets, stablecoins, custody, and what a token actually represents.
8 questions · 24 pts
Investor Essentials
What an investor needs before buying tokenized assets - accreditation rules, and how safe tokenized Treasuries really are.
8 questions · 48 pts
Builder's Path
Structuring and compliance for issuers - 506(c) accreditation verification and choosing the right LLC for your SPV.
8 questions · 57 pts
Get new RWA guides by email
Occasional updates when we publish new lessons. No spam, unsubscribe anytime.