Starter Kits
Launch your Blocana development journey with these pre-configured starter kits. Each kit includes all the boilerplate code you need to hit the ground running.
Basic Wallet Kit
BeginnerStart with a simple wallet application that allows users to create accounts, check balances, and transfer tokens. Perfect for those new to blockchain development.
DApp Marketplace
IntermediateA fully functional decentralized marketplace where users can list, buy, and sell digital products. Includes smart contracts, front-end, and integration with Blocana.
Code Samples
Copy and paste these code snippets into your projects to implement common Blocana functionality quickly.
User Authentication
import { BlockAuth } from '@blocana/auth'; // Initialize the auth client const auth = new BlockAuth({ appId: 'YOUR_APP_ID', network: 'mainnet' // or 'testnet' }); // Connect with wallet async function connectWallet() { try { const user = await auth.connect(); console.log('Connected user:', user.address); return user; } catch (error) { console.error('Connection error:', error); } } // Sign message for authentication async function signInUser() { try { const { signature, message } = await auth.signMessage( 'Welcome to our application! Sign this message to authenticate.' ); // Verify signature on your backend const response = await fetch('/api/verify', { method: 'POST', body: JSON.stringify({ signature, message, address: auth.user.address }), headers: { 'Content-Type': 'application/json' } }); const { token } = await response.json(); localStorage.setItem('authToken', token); return token; } catch (error) { console.error('Authentication error:', error); } }
Smart Contract Interaction
import { BlockClient, Contract } from '@blocana/sdk'; // Initialize client const client = new BlockClient({ network: 'testnet', apiKey: 'YOUR_API_KEY' }); // ABI for a simple ERC20 token const tokenABI = [ 'function balanceOf(address owner) view returns (uint256)', 'function transfer(address to, uint256 amount) returns (bool)', 'function name() view returns (string)', 'function symbol() view returns (string)', 'function decimals() view returns (uint8)' ]; // Connect to contract const tokenContract = new Contract( '0x1234567890123456789012345678901234567890', // contract address tokenABI, client.getSigner() // If you need to make transactions ); // Read functions async function getTokenInfo() { const name = await tokenContract.name(); const symbol = await tokenContract.symbol(); const decimals = await tokenContract.decimals(); return { name, symbol, decimals }; } // Get user balance async function getBalance(address) { const balance = await tokenContract.balanceOf(address); return balance; } // Send tokens async function sendTokens(recipientAddress, amount) { const tx = await tokenContract.transfer(recipientAddress, amount); const receipt = await tx.wait(); return receipt; }
Complete Projects
Explore fully functional applications built on Blocana. Each project includes comprehensive documentation and can be deployed with minimal configuration.

DeFi Dashboard
A comprehensive DeFi dashboard for monitoring portfolios, tracking yields, and managing assets across multiple protocols on Blocana.

NFT Marketplace
A full-featured NFT marketplace with minting, buying, selling, and auction capabilities. Includes royalty payments and creator verification.

Decentralized Social App
A censorship-resistant social platform with user-owned data, tokenized content, and community governance features.
Community Projects
Discover what the Blocana community is building. These exemplary projects showcase the innovative ways developers are leveraging Blocana's technology.
Browse the latest projects from the Blocana community or submit your own to be featured.

QuantumVault
by Sarah Chen
A quantum-resistant secure storage solution for digital assets with multi-signature support and hardware wallet integration.
View Project →
ChainOracle
by Marcus Johnson
A decentralized oracle network for Blocana that connects smart contracts with off-chain data sources securely and reliably.
View Project →Ready to Build on Blocana?
Join thousands of developers creating the next generation of blockchain applications on the most secure and scalable platform available.