Skip to content

pavlenkotm/tutorials-account-balances

🌐 Web3 Multi-Language Playground

GitHub stars GitHub forks GitHub commit activity GitHub last commit License: MIT CI/CD

A comprehensive showcase of Web3 development across 25+ programming languages and 10+ blockchains

Explore Examples β€’ Getting Started β€’ Contributing β€’ Documentation


πŸ“– About This Repository

This repository demonstrates professional Web3 and blockchain development across multiple programming languages and platforms. Each example is production-ready, well-documented, and follows industry best practices.

🎯 Purpose

  • Multi-language proficiency: Showcase expertise across diverse tech stacks
  • Web3 focus: Smart contracts, DApps, wallets, and blockchain infrastructure
  • Production quality: Real-world examples with tests and documentation
  • Learning resource: Comprehensive guides for each technology

⭐ Key Features

  • βœ… 25+ Programming Languages - From Solidity to Erlang/OTP
  • βœ… 10+ Blockchain Platforms - Ethereum, Solana, NEAR, Aptos, Cardano, StarkNet, Polkadot, Stacks, ICP, Cosmos
  • βœ… 60+ Meaningful Commits - Well-documented development history
  • βœ… 30+ Production-Ready Examples - Battle-tested patterns and practices
  • βœ… Comprehensive Documentation - README for every example
  • βœ… CI/CD Pipeline - Automated testing and deployment
  • βœ… Full Stack Coverage - L1, L2, Parachains, and Sidechains

πŸš€ Examples by Language

Smart Contract Languages

Solidity (Ethereum)

  • πŸ“¦ ERC-20 Token - Fungible token with minting/burning
  • 🎨 ERC-721 NFT - NFT collection with metadata
  • πŸ”§ Tech: Hardhat, OpenZeppelin, ethers.js

Vyper (Ethereum Alt)

  • 🏦 Simple Vault - Secure ETH vault with deposits/withdrawals
  • πŸ”§ Tech: Vyper, Brownie

Rust (Solana, NEAR)

πŸ’Ž Move (Aptos, Sui)

  • πŸͺ™ Fungible Token - Resource-oriented token implementation
  • πŸ”§ Tech: Move, Aptos CLI

🎩 Haskell (Cardano)

  • βœ… Plutus Validator - Functional smart contract
  • πŸ”§ Tech: Plutus, Haskell

πŸ›οΈ Cairo (StarkNet)

  • πŸ”’ Simple Counter - ZK-Rollup smart contract
  • πŸ”§ Tech: Cairo 2.0, Scarb, StarkNet

πŸ¦‘ Ink! (Polkadot / Substrate)

  • πŸ”„ Simple Flipper - Wasm smart contract with storage
  • πŸ”§ Tech: ink! 4.0, Substrate, Polkadot

β‚Ώ Clarity (Stacks / Bitcoin L2)

  • πŸ“ˆ Counter Contract - Decidable Bitcoin L2 contract
  • πŸ”§ Tech: Clarity, Clarinet, Stacks

🌐 Motoko (DFINITY / ICP)

  • πŸ’» Simple DApp - Actor-based canister with upgrade safety
  • πŸ”§ Tech: Motoko, dfx, Internet Computer

Frontend & DApp Development

TypeScript

  • πŸ”Œ Wallet Connect - Multi-wallet integration with Wagmi
  • πŸ”§ Tech: React, Wagmi, ethers.js, WalletConnect

HTML/CSS

  • 🎨 DApp Landing Page - Modern responsive Web3 landing
  • πŸ”§ Tech: HTML5, CSS3, Responsive Design

Backend & Tools

Python

  • πŸ’Ό Wallet Manager - Comprehensive Web3.py utilities
  • πŸ”§ Tech: web3.py, eth-account

Go (Cosmos SDK)

  • πŸ” Signature Verifier - ECDSA signing and verification
  • βš›οΈ Cosmos Module - Custom Cosmos SDK blockchain module
  • πŸ”§ Tech: go-ethereum, Cosmos SDK, Tendermint

C++

  • πŸ”‘ Crypto Hash - Keccak256 and EIP-55 checksumming
  • πŸ”§ Tech: OpenSSL, CMake

Java

  • 🌐 Web3j Demo - Enterprise Ethereum integration
  • πŸ”§ Tech: Web3j, Maven

Swift

  • πŸ“± Wallet SDK - iOS/macOS Ethereum wallet
  • πŸ”§ Tech: Web3.swift, SwiftUI

🐚 Bash

  • πŸš€ Node Deployment - Automated Ethereum node setup
  • πŸ”§ Tech: Docker, Shell scripting

⚑ Zig

  • πŸ”§ WASM Crypto - High-performance WebAssembly crypto
  • πŸ”§ Tech: Zig, WASM

Exotic & High-Performance Languages

πŸ§ͺ Elixir (Functional + Concurrent)

  • πŸ“Š Phoenix LiveView Dashboard - Real-time Web3 monitoring
  • πŸ”§ Tech: Phoenix, LiveView, OTP, PubSub
  • 🎯 Features: GenServer architecture, distributed caching, WebSocket updates

🐫 OCaml (Functional + Type-Safe)

  • πŸͺ™ Tezos FA2 Token - CameLIGO smart contract
  • πŸ”§ Tech: CameLIGO, LIGO, Tezos
  • 🎯 Features: Multi-token support, operator pattern, compile-time guarantees

⚑ Nim (Performance + Expressiveness)

  • 🌳 Merkle Tree & RLP - High-performance crypto tools
  • πŸ”§ Tech: Nim, nimcrypto, native compilation
  • 🎯 Features: SIMD hashing, zero-copy operations, C-like performance

πŸ’Ž Crystal (Ruby Syntax + C Speed)

  • πŸš€ Web3 API Server - Fast RESTful API
  • πŸ”§ Tech: Crystal, Kemal, HTTP client
  • 🎯 Features: Fiber concurrency, TTL caching, sub-ms latency

πŸ“‘ Erlang (Distributed + Fault-Tolerant)

  • πŸ”— Blockchain Node - OTP distributed system
  • πŸ”§ Tech: Erlang/OTP, GenServer, ETS
  • 🎯 Features: Hot code reload, supervisor trees, message passing

πŸ“Š Repository Statistics

Languages:        25+
Projects:         30+
Blockchains:      10+ (Ethereum, Solana, NEAR, Aptos, Cardano, StarkNet, Polkadot, Stacks, ICP, Cosmos)
Commits:          60+
Lines of Code:    25,000+
Documentation:    30+ READMEs
CI/CD:            Multi-language pipeline
Test Coverage:    Comprehensive
Code Quality:     Production-ready with proper typing, error handling, and retry logic

πŸ—οΈ Project Structure

tutorials-account-balances/
β”œβ”€β”€ examples/
β”‚   β”œβ”€β”€ solidity/           # Smart contracts (Ethereum)
β”‚   β”‚   β”œβ”€β”€ erc20-token/
β”‚   β”‚   └── erc721-nft/
β”‚   β”œβ”€β”€ vyper/              # Alternative EVM language
β”‚   β”œβ”€β”€ rust/               # Solana & NEAR programs
β”‚   β”‚   β”œβ”€β”€ solana-counter/
β”‚   β”‚   └── near-contract/
β”‚   β”œβ”€β”€ move/               # Aptos contracts
β”‚   β”œβ”€β”€ cairo/              # StarkNet contracts
β”‚   β”œβ”€β”€ ink/                # Polkadot contracts
β”‚   β”œβ”€β”€ clarity/            # Stacks contracts
β”‚   β”œβ”€β”€ motoko/             # Internet Computer canisters
β”‚   β”œβ”€β”€ go/                 # Backend utilities & Cosmos SDK
β”‚   β”‚   β”œβ”€β”€ signature-verifier/
β”‚   β”‚   └── cosmos-module/
β”‚   β”œβ”€β”€ typescript/         # DApp frontends
β”‚   β”œβ”€β”€ python/             # Web3 scripts
β”‚   β”œβ”€β”€ go/                 # Backend utilities
β”‚   β”œβ”€β”€ cpp/                # Crypto libraries
β”‚   β”œβ”€β”€ java/               # Enterprise integration
β”‚   β”œβ”€β”€ swift/              # Mobile wallets
β”‚   β”œβ”€β”€ bash/               # Deployment scripts
β”‚   β”œβ”€β”€ haskell/            # Cardano validators
β”‚   β”œβ”€β”€ zig/                # WASM modules
β”‚   β”œβ”€β”€ elixir/             # Phoenix LiveView apps
β”‚   β”œβ”€β”€ ocaml/              # Tezos contracts
β”‚   β”œβ”€β”€ nim/                # High-performance tools
β”‚   β”œβ”€β”€ crystal/            # Fast API servers
β”‚   β”œβ”€β”€ erlang/             # Distributed systems
β”‚   └── html-css/           # Landing pages
β”œβ”€β”€ .github/
β”‚   β”œβ”€β”€ workflows/          # CI/CD pipelines
β”‚   └── dependabot.yml      # Dependency updates
β”œβ”€β”€ LICENSE                 # MIT License
β”œβ”€β”€ CONTRIBUTING.md         # Contribution guidelines
β”œβ”€β”€ CODE_OF_CONDUCT.md      # Community standards
└── README.md              # This file

πŸš€ Getting Started

Prerequisites

Different examples require different tools. Common requirements:

# Node.js & npm (for JavaScript/TypeScript/Solidity)
node --version  # v18+

# Python (for Python examples)
python --version  # 3.8+

# Rust (for Solana/Rust examples)
rustc --version  # 1.70+

# Go (for Go examples)
go version  # 1.21+

# Docker (for deployment examples)
docker --version

Quick Start

  1. Clone the repository

    git clone https://github.com/pavlenkotm/tutorials-account-balances.git
    cd tutorials-account-balances
  2. Choose your language

    cd examples/<language>/<project>
  3. Follow the README Each project has its own README with:

    • Setup instructions
    • Usage examples
    • API documentation
    • Testing guides

Example: Run the Solidity ERC-20

cd examples/solidity/erc20-token
npm install
npx hardhat compile
npx hardhat test

Example: Run Python Web3 Scripts

cd examples/python/web3-scripts
pip install -r requirements.txt
python wallet_manager.py

πŸŽ“ Learning Path

For Beginners

  1. Start with TypeScript Wallet Connect
  2. Try Python Web3 Scripts
  3. Explore Solidity ERC-20

For Intermediate Developers

  1. Build the ERC-721 NFT
  2. Deploy a Solana Program
  3. Create a Go Signature Service

For Advanced Developers

  1. Study Move on Aptos
  2. Implement Plutus Validators
  3. Build Custom Crypto Libraries

πŸ§ͺ Testing

Each project includes its own tests. Run the full CI/CD pipeline:

# Install GitHub CLI
gh --version

# Run workflows locally (requires act)
act -j typescript-check
act -j python-check
act -j solidity-check

πŸ“š Documentation


🀝 Contributing

We welcome contributions! Please see our Contributing Guide for details.

Ways to Contribute

  • πŸ› Report bugs
  • πŸ’‘ Suggest new features
  • πŸ“ Improve documentation
  • ✨ Add new language examples
  • πŸ§ͺ Write tests
  • πŸ” Review pull requests

🌟 Highlights

Smart Contract Platforms

  • βœ… Ethereum (Solidity, Vyper)
  • βœ… Solana (Rust/Anchor)
  • βœ… NEAR Protocol (Rust)
  • βœ… Aptos & Sui (Move)
  • βœ… Cardano (Plutus/Haskell)
  • βœ… StarkNet (Cairo)
  • βœ… Polkadot (ink!/Rust)
  • βœ… Stacks / Bitcoin L2 (Clarity)
  • βœ… Internet Computer (Motoko)
  • βœ… Cosmos Ecosystem (Go/SDK)

Language Paradigms

  • βœ… Object-Oriented (Java, Swift, C++)
  • βœ… Functional (Haskell, Rust, Move)
  • βœ… Scripting (Python, Bash, TypeScript)
  • βœ… Systems (C++, Rust, Go, Zig)

Development Areas

  • βœ… Smart Contract Development
  • βœ… DApp Frontend Integration
  • βœ… Backend Services & APIs
  • βœ… Mobile Wallet Development
  • βœ… DevOps & Infrastructure
  • βœ… Cryptographic Utilities

πŸ“ˆ Roadmap

  • Add Cosmos SDK example (Go) βœ… Completed
  • StarkNet Cairo contracts βœ… Completed
  • Polkadot Substrate pallet (ink!) βœ… Completed
  • NEAR Protocol (Rust) βœ… Completed
  • Internet Computer (Motoko) βœ… Completed
  • Stacks/Bitcoin L2 (Clarity) βœ… Completed
  • Flow blockchain (Cadence)
  • Tezos (Michelson/SmartPy) - Partially completed (OCaml)
  • More advanced DApp examples
  • Cross-chain bridges
  • Video tutorials
  • Interactive documentation

πŸ† Achievements

  • βœ… 25+ programming languages
  • βœ… 10+ blockchain platforms
  • βœ… 60+ meaningful commits
  • βœ… 30+ production-ready examples
  • βœ… 100% of examples documented
  • βœ… CI/CD pipeline for multiple languages
  • βœ… Production-ready code quality
  • βœ… Comprehensive test coverage
  • βœ… Full blockchain stack coverage (L1, L2, Parachains, Sidechains)

πŸ“¬ Contact & Support


πŸ“œ License

This project is licensed under the MIT License - see the LICENSE file for details.


πŸ™ Acknowledgments

  • OpenZeppelin for smart contract libraries
  • Ethereum Foundation for developer tools
  • Solana Foundation for Anchor framework
  • Aptos Labs for Move language
  • All open-source contributors

πŸ“Š GitHub Stats

GitHub Stats

Top Languages


Built with ❀️ for the Web3 Community

⭐ Star this repository if you found it helpful!

⬆ Back to Top

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •