ACADEMY
v2
MODULE 15
LESSON 2
Front-End to Contract Workflow
Steps to connect a front-end (React, Vue, etc.) to Qubic:
1. Wallet Integration
Users sign transactions with the Qubic web wallet or browser wallet extension.
The browser wallet injects accounts into the dApp similarly to MetaMask, but all Procedure calls remain feeless for users.
2. Send Procedure Calls
dApp sends Procedure requests to the network.
Wallet signs and forwards them to Computors.
Example (from JS SDK):
3. Read State via Functions
Queries sent as Function calls — no ledger entry, instant read.
Example (from JS SDK):