Make Value Flow Like Information.
A modern, dark-themed landing page for a Web3 payment gateway built with Leptos and Rust. LedgerFlow showcases a permissionless, self-custody payment solution for creators and developers in the Web3 ecosystem.
- π Dark Web3 Theme: Modern UI with blue and purple glowing accents
- β‘ Rust Performance: Built with Leptos for lightning-fast WASM performance
- π± Fully Responsive: Optimized for desktop and mobile devices
- π¨ Smooth Animations: CSS animations with fade-in effects and hover states
- π§ Easy Configuration: Simple config constants for quick customization
- π Static Deployment: Zero server requirements, deploy anywhere
The landing page is built with modular Leptos components:
- Logo with brand name
- Navigation links: "Why LedgerFlow?", "Features", "How it Works"
- Action buttons: "GitHub" and "Get Started"
- Mobile-responsive menu toggle
- Primary headline with animated background
- Value proposition subtitle
- Dual CTAs: "View on GitHub" and "Start Receiving Payments via Telegram"
- Supporting text with fade-in animations
- Title: "Tired of Traditional Payment Rails?"
- Four problem cards:
- π’ High Barriers: Company registration requirements
- π Frozen Funds: Platform control over user funds
- πΈ Hidden Fees: Unpredictable costs and conversion fees
- π Geographic Walls: Banking and country restrictions
- Title: "Welcome to the Future of Payments."
- Four solution cards:
- β‘ Truly Permissionless: Only crypto address needed
- π Self-Custody: Direct on-chain vault control
- π Radical Transparency: Only blockchain gas fees
- π Genuinely Global: Internet-only requirements
- Title: "Simple & Secure in 3 Steps"
- Three-step process:
- Create Link: Generate payment request via Telegram Bot
- Customer Pays: USDC sent to PaymentVault contract
- Receive Funds: On-chain confirmation and instant vault arrival
- Title: "Built for the Web3 Economy"
- Four core features:
- ποΈ Non-Custodial Vault: Single audited smart contract
- π Seamless Multi-Chain: EVM chain compatibility
- βοΈ Programmable & Composable: DeFi integration ready
- β½ Gasless Experience: Permit signature support
- Title: "Ready to Join the Open Financial Network?"
- Primary action: "Launch the Telegram Bot"
- Secondary action: "View on GitHub"
- Testnet contract link on Uniscan
- Copyright notice with current year
- Built with Leptos & Rust branding
- Rust: Latest stable version
- Trunk: WASM web application bundler
# Install Rust if not already installed
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# Install Trunk
cargo install trunk
# Or install via npm
npm install -g trunk
# Clone the repository
git clone https://github.com/longcipher/ledgerflow-homepage.git
cd ledgerflow-homepage
# Start development server
trunk serve
# Open browser to http://127.0.0.1:8080
# Build for production
trunk build --release
# Files will be in dist/ directory
- Primary Blue:
#3b82f6
- Technology and trust - Secondary Purple:
#8b5cf6
- Innovation and Web3 - Accent Cyan:
#06b6d4
- Flow and movement - Background:
#0a0a0a
/#111111
- Dark sophistication - Text:
#ffffff
to#71717a
- Clarity gradient
- Font Family: Inter (Google Fonts)
- Weights: 100-900 available
- Hierarchy: Clear distinction between titles, subtitles, and body text
- Glow Effects: Blue and purple shadows on interactive elements
- Gradient Text: Primary headlines use blue-to-purple gradients
- Hover States: Cards lift and glow on interaction
- Animations: Fade-in effects with staggered delays
Edit the CONFIG
struct in src/main.rs
:
const CONFIG: LedgerFlowConfig = LedgerFlowConfig {
brand_name: "LedgerFlow",
hero_title: "Make Value Flow Like Information.",
hero_subtitle: "The open source, permissionless, self-custody payment gateway...",
telegram_bot_url: "https://t.me/LedgerFlowBot",
github_url: "https://github.com/longcipher/ledgerflow",
testnet_contract_url: "https://sepolia.uniscan.xyz/address/0x...",
};
Modify the problem/solution/feature arrays:
// Problems users face
const PROBLEMS: &[(&str, &str, &str)] = &[
("π’", "High Barriers", "Forced to register a company..."),
// Add more problems...
];
// Solutions LedgerFlow provides
const SOLUTIONS: &[(&str, &str, &str)] = &[
("β‘", "Truly Permissionless", "All you need is a crypto address..."),
// Add more solutions...
];
// Core features
const FEATURES: &[(&str, &str, &str)] = &[
("ποΈ", "Non-Custodial Vault", "A single, audited smart contract..."),
// Add more features...
];
Update CSS variables in style.css
:
:root {
--color-primary: #3b82f6;
--color-secondary: #8b5cf6;
--color-accent: #06b6d4;
--color-bg-primary: #0a0a0a;
--color-bg-secondary: #111111;
/* ... more variables */
}
- Frontend Framework: Leptos - Rust-based reactive UI
- Build Tool: Trunk - WASM application bundler
- Styling: Custom CSS with CSS variables and animations
- Icons: Unicode emojis for lightweight, universal compatibility
- Fonts: Inter from Google Fonts
- Deployment: Static files, compatible with any hosting
ledgerflow-homepage/
βββ src/
β βββ main.rs # Main Leptos components and config
βββ dist/ # Built files (generated)
βββ target/ # Rust build artifacts
βββ index.html # HTML template
βββ style.css # Dark theme CSS
βββ Cargo.toml # Rust dependencies
βββ Trunk.toml # Trunk configuration
βββ Justfile # Development commands
βββ leptosfmt.toml # Leptos formatter config
βββ README.md # This file
The app builds to static files, deployable anywhere:
trunk build --release
Deploy the dist/
folder to:
- Vercel: Connect GitHub repo for automatic deployments
- Netlify: Drag and drop dist folder or connect repo
- GitHub Pages: Deploy from gh-pages branch
- AWS S3: Static website hosting
- IPFS: Decentralized hosting for Web3 alignment
Using Just (justfile):
# Format code
just format
# Lint code
just lint
# Run tests
just test
Or using Cargo directly:
# Format Rust code
cargo fmt
# Check for issues
cargo clippy
# Run tests
cargo test
This landing page is designed for:
- Web3 Developers: Clear technical messaging and integration focus
- Crypto Creators: Self-custody and permissionless value propositions
- DeFi Users: Emphasis on transparency and composability
- Global Entrepreneurs: Borderless payment solutions
- Live Demo: LedgerFlow Homepage
- Telegram Bot: @LedgerFlowBot
- GitHub Repository: longcipher/ledgerflow
- Testnet Contract: Sepolia Uniscan
- Fork the repository
- Create a feature branch
- Make your changes
- Run
just lint
to ensure code quality - Submit a pull request
MIT License - Feel free to use this template for your Web3 projects.
Built with β€οΈ using Leptos and Rust for the decentralized future.