A hash function takes any input and produces a fixed-length fingerprint.
Even a tiny change completely alters the output.
How it works: SHA-256 always produces a 64-character hex string, no matter how long
or short the input. It's a one-way function β you can't reverse-engineer the input from the hash.
Try it: Type "hello" then change it to "Hello" β notice how completely different
the hashes are? This is called the avalanche effect.
π Symmetric Encryption
Both parties share the same secret key. The same key encrypts and
decrypts the message.
AES (Advanced Encryption Standard) is the most widely used symmetric encryption
algorithm. Think of it as a lockbox where both sender and receiver have the same key.
AES Encryption
The problem: How do you securely share the key with the other party? This is the
fundamental weakness of symmetric encryption, and why we need asymmetric
encryption.
ποΈ Asymmetric Encryption
Two mathematically linked keys: a public key (share freely) and a
private key (keep secret).
Public key = a mailbox anyone can drop letters into. Private key =
only you have the key to open it. Anyone can encrypt with your public key, but only you can decrypt
with your private key.
1. Generate Key Pair (RSA-2048)
2. Encrypt with Public Key
3. Decrypt with Private Key
β
βοΈ Digital Signatures
Prove you authored a message without revealing your private key. Anyone
with your public key can verify it.
Signing β Encryption. Signing doesn't hide the message. It proves who sent
it and that it wasn't tampered with. This is how blockchain transactions work.
1. Generate Signing Keys (ECDSA)
β
β
2. Sign a Message
β
3. Verify a Signature
Try it: Sign a message, then try verifying it with even one character changed. The
verification will fail β proving the message is tamper-proof.
βοΈ Consensus Mechanisms
How does a decentralized network agree on the truth without a central authority? Explore the game theory and algorithms that keep blockchains secure.
The Goal: Ensure all honest participants have the same data, even if some participants are malicious or disconnected.
1. Proof of Work (PoW) β Seal the Order
The King's Messenger has an order, but he could be an impostor! To prove the order is real, we must attach a Proof of Work. We will guess random numbers (Nonce) until the resulting hash starts with "0000". This takes time and energy, proving we are serious.
Nonce (Guessed Number):0
Generated Hash:
waiting...
2. Proof of Stake (PoS) β Troop Deployment
Instead of wasting energy solving math puzzles, we use Proof of Stake. Generals lock up their own troops (stake) to vote on the plan. A leader is randomly chosen to make the final call, but the more troops you pledge, the higher your chance of being selected.
Selected Leader:
Spinning...
3. Proof of Authority (PoA) β The Emperor's Decree
In some private networks, neither puzzles nor troops are needed. A predefined set of trusted Authorities (The Emperor's Council) takes turns validating the plan. It is extremely fast, but highly centralized.
π¦ Block
A block holds data and a nonce. Mining finds a nonce that makes the hash
start with leading zeros.
Proof of Work: The miner must find a number (nonce) such that the hash of [Block# +
Nonce + Data] starts with "0000". This takes computational effort β that's the
"work" in Proof of Work.
Block #1β Invalid
βοΈ Blockchain
Blocks are chained together: each block's hash includes the previous
block's hash. Tampering with any block breaks the entire chain.
Immutability: Try changing data in Block 2. Notice how Block 2 and all blocks after
it turn red? You'd have to re-mine every subsequent block β that's why blockchains are
tamper-resistant.
π Distributed Blockchain
See how multiple nodes maintain their own copy of the blockchain, and how forks are resolved
using the longest-chain rule.
Longest Chain Wins: In a distributed network, each node independently mines blocks.
When two nodes mine at the same time, a fork occurs. The network resolves forks by
adopting the longest valid chain β shorter branches are discarded.
Network Controls
β All
nodes in consensus
Network Log
No events yet.
Try it: Click "Simulate Fork" to see two nodes mine conflicting blocks. Then click
"Resolve Fork" to see the longest chain overwrite the others. You can also manually mine and
propagate between nodes.
π Wallet
A wallet is not a bank account β it's a key pair. Your mnemonic phrase
is the master backup for everything.
BIP39 Standard: A mnemonic is 12 (or 24) words selected from a 2048-word
dictionary. These words encode your entropy and can regenerate your entire wallet.
Step 1 β Random Entropy (128 bits)
Click "Generate New Wallet" to begin...
Step 2 β Mnemonic Words (BIP39)
Step 3 β Seed (SHA-256 of mnemonic)
β
Step 4 β Private Key
β
Step 5 β Public Key
β
Step 6 β Address
β
β οΈ Remember: Lose your mnemonic = lose your funds forever. There's no "forgot
password" in blockchain. Your keys, your coins. Not your keys, not your coins.
πΈ Transaction
A transaction is a signed message that transfers value. The signature
proves ownership without revealing the private key.
Flow: Create a transaction β Sign it with your private key β Broadcast to the
network β Miners/validators include it in a block.
Create Transaction
Signed Transaction
β Signature Valid β Transaction Authentic
Block #ββ Mined
π Smart Contracts
Self-executing programs on the blockchain. Deploy, interact, and verify
contracts directly from your browser using MetaMask.
What is a Smart Contract? It's code stored on the blockchain that runs
automatically when conditions are met. Once deployed, nobody can change it β the code is law.
π Wallet Connection
Simulated Mode: No real network. Everything runs in-browser with unlimited
gas. Perfect for learning!
Modeβ
Addressβ
Networkβ
Balanceβ
Select Contract Example
Store & retrieve a single uint256 value. The
simplest smart contract.
Try it: Start with Storage (simplest), then work up to Counter β Owner β Voting β
Token β NFT.
Use Simulated mode for practice, or MetaMask on a testnet for real deployment!
πͺ Tokenomics
Simulate a token economy: create tokens, mint, burn, transfer, stake for rewards, and manage
vesting schedules.
What is Tokenomics? Token economics studies how a cryptocurrency's supply,
distribution, and incentives work together. It covers minting (creating new
tokens), burning (destroying tokens), staking (locking tokens for
rewards), and vesting (time-locked releases).
Create Your Token
Token Value
Price
$1.00
Market Cap
$0
Change
β
Price reacts to: minting
(β), burning (β), staking (β), community growth (β), inflation (β)
Supply Dashboard
Total Supply
0
Circulating
0
Staked
0
Burned
0
Vesting Locked
0
Supply Distribution
Circulating Staked Vesting Burned
Market Factors
Simulate market sentiment: Adjust community size, social media buzz, and
developer activity to see how they affect token price.
> 50 is Bullish, < 50 is Bearish
Accounts
Name
Address
Balance
Staked
Total
Airdrop
Airdrops distribute tokens to specific users for marketing. You can choose to mint new tokens (diluting supply) or send from your existing balance.
Mint & Burn
β Mint New Tokens
π₯ Burn Tokens (from You)
Transfer
Staking
How staking works: Lock your tokens to earn rewards over time. In this
demo, 1 second = 1 day so you can see rewards accumulate quickly. APY
(Annual Percentage Yield) determines your return rate.
Your Staked
0
APY
12%
Pending Reward
0
Vesting Schedules
Vesting: Lock tokens that gradually unlock over time. Used for team
allocations, investor tokens, and community rewards. In this demo, 1 second = 1
day.
Event Log
No events yet.
πΌοΈ NFT & Real World Assets
Create unique digital assets, tokenize real-world property, trade on a marketplace, and explore
fractional ownership.
NFT (Non-Fungible Token): A unique, indivisible digital certificate of ownership
stored on the blockchain. Each NFT has distinct metadata and cannot be exchanged 1:1 with another.
RWA extends this to represent real-world assets like property, art, or documents.
Mint NFT
Tokenize Real World Asset
RWA Tokenization: Convert physical assets (property, art, patents) into NFTs
with legal metadata.
Collection Stats
Total NFTs
0
For Sale
0
Unique Owners
0
Volume
0 ETH
Gallery
No NFTs minted yet.
Create your first NFT above!
Transfer NFT
Marketplace
No NFTs listed for sale.
Fractional Ownership
Fractionalization: Split an NFT into fungible shares. Multiple people can
co-own a single high-value asset.
Event Log
No events yet.
π Web3 Wallet & Contract
Please connect your MetaMask wallet. Ensure you are on the Akadal Chain.
Walletβ
Networkβ
Load Existing
Deploy New NFT
Nameβ
Symbolβ
Total Supplyβ
Mint On-Chain NFT
Mints an NFT with 100% on-chain metadata (Base64 encoded).
If no image is selected, an auto-generated one will be used.
Tokenize Real World Asset (On-Chain)
RWA Tokenization: Convert physical assets (property, art, patents) into NFTs with legal metadata.
Collection Stats
Total NFTs
0
For Sale
0
Unique Owners
0
Volume
0 ETH
Load a contract or mint an NFT to view.
Transfer NFT
Marketplace
Fractional Ownership
Fractionalization: Split an NFT into fungible shares. Multiple people can co-own a single high-value asset.
On-Chain Event Log
No events yet.
π¦ Decentralized Finance (DeFi)
Experience core DeFi primitives: swap tokens through an AMM, provide liquidity, lend & borrow,
and farm yield.
Automated Market Maker (AMM): Instead of an order book, prices are determined by a
mathematical formula: x Γ y = k (constant product). Swapping one token
automatically adjusts the price of the other.
Pool Overview
Price
β
TVL
β
Volume
β
Fees
β
Pool: β / βTotal LP: β
Your Balances
ETH
β
DAI
β
LP Tokens
β
Token Swap
β
Liquidity Pool
Liquidity Providers deposit token pairs and earn fees from every swap. You
receive LP tokens representing your share of the pool.
Lending & Borrowing
Collateralized Lending: Deposit DAI as collateral, then borrow against it. If
your health ratio drops below 100%, you risk liquidation. Collateral ratio:
150%.
Deposited
β
Borrowed
β
Health
β%
Max Borrow
β
Yield Farming
Yield Farming: Stake your LP tokens to earn additional reward tokens (FARM). 1
second = 1 day for reward calculation.
Staked LP
0 LP
Pending Reward
0 FARM
Farm APY
50%
Event Log
No events yet.
π Web3 Wallet & AMM Contract
Please connect your MetaMask wallet. Ensure you are on the Akadal Chain.
Walletβ
Networkβ
Load Existing AMM
Deploy New AMM & Tokens
This deploys 2 Test Tokens (TKA & TKB) and a SimpleAMM contract linking them.
Web3 Pool Overview
Reserve A (TKA)
0
Reserve B (TKB)
0
Total LP Shares
0
Your Wallet Balances
Token A
0
Token B
0
Your LP Shares
0
Token Swap
β 0 Out
Manage Liquidity
Web3 Lending & Borrowing
On-Chain Lending: Deposit Token A as collateral to borrow Token A (simulated loop/test). Collateral ratio: 150%.
Collateral
0
Borrowed
0
Health Factor
β
Web3 Yield Farming
Stake your LP Tokens to earn FARM rewards.
Staked LP
0
Pending FARM
0
ποΈ DAO (Decentralized Autonomous Organization)
Create a governance system, craft proposals, vote with token-weighted power, and manage a shared
treasury β all decentralized.
DAO: An organization governed by smart contracts and token holders. Decisions are
made through proposals and voting. Token holders have voting power proportional to their holdings.
Proposals pass when they reach quorum and have majority support.
Create DAO
Governance Dashboard
Total Supply
β
Treasury
β
Quorum
β
Proposals
0
π³οΈ Active: 0β Passed: 0β Rejected: 0
Members & Voting Power
Member
Address
Tokens
Power
Create Proposal
Proposals
No proposals yet. Create one above!
Governance Log
No events yet.
π Web3 Wallet & DAO Contracts
Please connect your MetaMask wallet. Ensure you are on the Akadal Chain.
Walletβ
Networkβ
Load Existing DAO
Deploy New DAO
Deploys a Governance Token (GOV) first, then the SimpleDAO contract linked to it.
Your Membership
Token Balance
0 GOV
Voting Power
0
Tokens must be minted or transferred to increase your voting power. Voting power determines your influence on proposals.