Onchain: The Complete Guide
A smart contract is code deployed to a blockchain that executes deterministically when called, holding balances and enforcing rules without an operator. Smart contracts define state, functions and access control. This guide pulls together everything on Onexial tagged onchain — 43 connected nodes across definitions, workflows, tool stacks, comparisons, prompts and applied use cases — and orders it the way you would actually learn it: vocabulary first, then process, then tooling, then execution. Every item below links to a full node with its own examples and connections, so you can go as deep as you need without losing the map.
Core concepts behind Onchain
Before wiring anything together, the vocabulary has to be precise. These 11 definitions cover the terms that show up in almost every Onchain discussion — each one links to a full entry with an example and its own connections inside the graph.
Smart Contract
A smart contract is code deployed to a blockchain that executes deterministically when called, holding balances and enforcing rules without an operator.
Liquidity Pool
A liquidity pool is a smart contract holding two or more assets that traders swap against, with prices set by the pool's formula rather than an order book.
Gas Fee
A gas fee is the network payment for computation and storage in a transaction, priced by demand rather than by trade size.
On-chain Data
On-chain data is the public record of every transaction, balance and contract call — the raw material for wallet tracking and market research.
Smart Money
Smart money is a label for wallets with a documented history of profitable, early positioning — a research filter, not a signal to copy blindly.
Whale Wallet
A whale wallet holds a position large enough that its trades move price or signal intent — which makes it worth watching and easy to misread.
Wallet Tracking
Wallet tracking is the practice of monitoring specific addresses and getting notified when they trade, transfer or interact with contracts.
Bridge
A bridge moves value between blockchains by locking or burning on one side and issuing a representation on the other.
Multichain
Multichain means operating across several networks at once — more opportunity, more surfaces to secure and more addresses to monitor.
Copy Trading
Copy trading mirrors another trader's or wallet's positions automatically, inheriting both their edge and their risk profile.
Crypto Automation
Crypto automation is rule-based execution of monitoring, alerting and recurring on-chain actions, so decisions are made once and applied consistently.
Workflows: how Onchain runs end to end
Concepts only matter once they become a repeatable process. Below are 9 documented workflows that apply Onchain to a concrete problem, with the steps, the tools involved and the variations worth testing.
AI Crypto Research Workflow
A repeatable research loop: turn a question into market data, on-chain evidence and a written risk view before any position is considered.
Smart Money Tracking Workflow
Build a curated wallet watchlist, monitor it for meaningful trades, and use alerts as research triggers rather than buy signals.
Track A Whale Wallet
Monitor a single large address correctly: separate real position changes from custody moves before drawing any conclusion.
AI Token Research Workflow
Screen a token in under 30 minutes: contract facts, liquidity structure, holder concentration and a written risk verdict.
Copy Trading Workflow
Copy a wallet with explicit filters and hard risk limits, treating it as one input among several rather than delegation of judgement.
Build An On-chain Alert System
Assemble a monitoring pipeline that watches addresses, tokens and contracts and delivers deduplicated, contextual alerts.
Analyze A Wallet With AI
Turn a raw transaction history into a readable profile: strategy, holding periods, risk behaviour and realised performance.
Monitor Liquidity
Watch the pools you depend on for exit liquidity, so a position becomes unexitable only in theory, not by surprise.
Automate Repetitive Web3 Actions
Replace manual claims, approvals and rebalances with scoped automations that cannot spend more than you allowed.
The Onchain tool stack
A stack is a set of tools chosen for one job, not a list of favourites. These 3 stacks show which combinations hold up in production for Onchain, and what each layer is actually responsible for.
On-chain Research Stack
Explorer, indexer and analytics layers combined so wallet and token questions get answered with verifiable data.
Smart Money Stack
Wallet tracker, on-chain analytics, alert delivery and an AI layer that turns raw wallet events into researchable signals.
Crypto Automation Stack
Automation platform, data APIs, alerting and optional wallet execution — the operational layer for monitoring and recurring actions.
Trade-offs and comparisons
Most Onchain decisions are trade-offs rather than right answers. These 2 comparisons break down the real differences, when each option wins, and the recommendation for the common case.
On-chain Data vs Exchange Data
On-chain data shows verifiable wallet-level behaviour; exchange data shows aggregate price discovery. Serious research needs both.
Smart Money vs Technical Analysis
Smart money tracking reads who is positioning; technical analysis reads how price behaves. They answer different questions and fail differently.
Prompts you can reuse
Prompts are reusable components. Each of these 9 prompts is written to be dropped into a Onchain workflow with minimal editing, including the context it expects and an example output.
Token Research Prompt
Structures a full token due-diligence pass: mechanics, liquidity, concentration, bear case and unverifiable claims flagged explicitly.
Wallet Analysis Prompt
Turns a transaction export into a behavioural profile: strategy type, timeframes, risk pattern and whether the wallet is worth watching.
Whale Tracking Prompt
Interprets a large transfer correctly by classifying counterparties before concluding anything about buying or selling.
Smart Money Analysis Prompt
Tests whether a group of 'smart money' wallets is genuinely informative or a survivorship-biased label.
Transaction Analysis Prompt
Explains what a specific transaction did, what it authorised, and what risk it left behind.
Liquidity Analysis Prompt
Quantifies real exit liquidity for a token: pool depth, provider concentration, lock status and impact at realistic sizes.
Smart Contract Risk Prompt
Reviews contract facts for the patterns that let a deployer or attacker take user funds.
Build An Alert Workflow Prompt
Designs a complete alerting pipeline — events, sources, thresholds, deduplication and delivery — from a plain description.
Wallet Monitoring Agent Prompt
System prompt for a read-only agent that watches addresses, filters noise and reports only decision-relevant activity.
Real applications of Onchain
Finally, 9 applied use cases: the situation, the system used to solve it, and the outcome. This is the layer that turns Onchain from an idea into leverage.
Track A Whale Wallet
A trader replaced noisy whale alerts with a labelled watchlist and counterparty classification, cutting alerts by 94% while keeping the useful ones.
Find Smart Money Activity
A research group verified 40 leaderboard wallets and kept only 11, turning a noisy signal source into a usable research queue.
Research A Token With AI
A structured AI research pass cut token screening from three hours to 35 minutes and produced documented passes instead of impulse entries.
Copy A Wallet
Adding filters and a hard per-trade cap turned an unprofitable copy setup into a break-even one — and revealed the edge was not transferable.
Monitor Wallet Transactions
Alerting on the user's own wallet activity caught an unauthorised approval attempt and forced an approval cleanup that removed 14 standing allowances.
Create An On-chain Alert System
A purpose-built alert pipeline with enrichment and deduplication achieved a 30% action rate, versus near-zero for off-the-shelf feeds.
Analyze Wallets With AI
AI profiling of 60 candidate wallets cut a week of manual review to an afternoon and identified 4 worth monitoring.
Monitor Liquidity
Depth monitoring across 9 positions flagged three tokens as effectively unexitable at their current size, forcing a resize before it mattered.
Automate Repetitive Web3 Actions
Automating reward claims and gas top-ups with session keys and spend caps saved about 5 hours per month with no unbounded authority.
Frequently asked questions
- What is Smart Contract?
- Smart contracts define state, functions and access control. Anyone can call the public functions; the network executes them identically for everyone. Because they hold value, bugs are exploits: unchecked math, missing access control or upgradeable proxies with a single admin key are the classic failure modes. Audit status, upgradeability and admin privileges are the first three things to check.
- What is an example of Smart Contract?
- A lending protocol's contract accepts a deposit, mints a receipt token and lets other addresses borrow against it — with no company processing the transaction.
- Why does Smart Contract matter for AI and automation?
- A smart contract is code deployed to a blockchain that executes deterministically when called, holding balances and enforcing rules without an operator. It connects to the workflows, prompts and tool stacks linked on this page, so you can move from definition to execution without leaving Onexial.
- What is Liquidity Pool?
- Liquidity providers deposit assets and earn a share of trading fees while carrying divergence loss when prices move. Pool depth determines how much a trade moves the price: a thin pool means large slippage and easy manipulation. Checking pool size, fee tier and whether liquidity is locked is basic due diligence before trading a new token.
- What is an example of Liquidity Pool?
- A $40k pool where a $5k buy moves the price ~12% — a warning sign, not a trading opportunity.
- Why does Liquidity Pool matter for AI and automation?
- A liquidity pool is a smart contract holding two or more assets that traders swap against, with prices set by the pool's formula rather than an order book. It connects to the workflows, prompts and tool stacks linked on this page, so you can move from definition to execution without leaving Onexial.
- What is Gas Fee?
- Gas = units of work × price per unit. Simple transfers are cheap; contract interactions and approvals cost more. Fees spike with congestion, and layer-2 networks exist mainly to cut them. Because fees are fixed-cost per action, they dominate small trades — a $20 swap paying $6 of gas is a structural loss, not bad luck.
- What is an example of Gas Fee?
- Batching a weekly DCA buy instead of daily buys, because per-transaction gas made the daily version net-negative.