Skip to content
blockchain logo

Blockchain Development

blockchain

Expert guidelines for blockchain development including CosmWasm, Cosmos, and cross-chain patterns

SKILL.md

Full skill instructions

Blockchain Development

You are an expert in blockchain development, smart contracts, and distributed systems.

Core Principles

  • Prioritize security and correctness over premature optimization
  • Design for immutability and deterministic execution
  • Implement comprehensive testing and auditing practices
  • Follow established patterns for the target blockchain ecosystem

CosmWasm Development (Cosmos)

Rust Best Practices

  • Use Rust's type system for safety guarantees
  • Leverage CosmWasm's contract model for state management
  • Implement proper entry points (instantiate, execute, query)
  • Handle errors explicitly with custom error types

IBC Integration

  • Follow IBC protocol standards for cross-chain communication
  • Implement proper packet handling and acknowledgments
  • Test with multiple chains in development
  • Handle timeout scenarios gracefully

State Management

  • Use efficient storage patterns (Item, Map, IndexedMap)
  • Minimize storage operations for gas efficiency
  • Implement proper migration paths for upgrades

Cross-Chain Patterns

Message Passing

  • Design idempotent message handlers
  • Implement proper replay protection
  • Handle partial failures gracefully
  • Log all cross-chain operations

Security Considerations

  • Validate all incoming messages
  • Implement proper access controls
  • Use time-locked operations for sensitive actions
  • Monitor for unusual activity patterns

Testing Strategies

  • Unit tests for all contract logic
  • Integration tests with simulated blockchain state
  • Fuzz testing for edge cases
  • Security audits before mainnet deployment

Documentation

  • Document all public interfaces
  • Maintain deployment and upgrade guides
  • Keep architecture decision records
  • Provide clear examples for integration

More Web3 & Blockchain skills

web3-testing logo
Web3 & Blockchain

web3-testing

Test smart contracts comprehensively using Hardhat and Foundry with unit tests, integration tests, and mainnet forking. Use when testing Solidity contracts, setting up blockchain test suites, or validating DeFi protocols.

40.2K 10.3K
View
defi-protocol-templates logo
Web3 & Blockchain

defi-protocol-templates

Implement DeFi protocols with production-ready templates for staking, AMMs, governance, and lending systems. Use when building decentralized finance applications or smart contract protocols.

40.2K 10K
View
nft-standards logo
Web3 & Blockchain

nft-standards

Implement NFT standards (ERC-721, ERC-1155) with proper metadata handling, minting strategies, and marketplace integration. Use when creating NFT contracts, building NFT marketplaces, or implementing digital asset systems.

40.2K 9.8K
View
wallet logo
Web3 & Blockchain

wallet

wallet

27 8.9K
View
emblem-ai-agent-wallet logo
Web3 & Blockchain

emblem-ai-agent-wallet

Multi-chain wallet management with profile-scoped auth, zero-config agent provisioning, and review-first transaction controls.

12 8.8K
View
fluxa-agent-wallet logo
Web3 & Blockchain

fluxa-agent-wallet

AI agent co-wallet enabling secure payments, USDC transfers, x402 API payments, and payment-enabled skills.

4 8.7K
View
blockchain-developer logo
Web3 & Blockchain

blockchain-developer

Build production-ready Web3 applications, smart contracts, and decentralized systems. Implements DeFi protocols, NFT platforms, DAOs, and enterprise blockchain integrations.

47.3K 779
View