Developers
Technical resources for developers building on Libre Chain and integrating with the lending platform.
Overview
Libre Chain provides a robust platform for building decentralized applications, with particular focus on Bitcoin-native financial services. This section covers smart contract development, API integration, and technical resources.
Quick Start
Network Information
Chain ID: 1
RPC Endpoint:
https://lb.libre.orgExplorer:
https://librebloks.ioTestnet RPC:
https://testnet.libre.org
Core Contracts
Lending Pools:
loanDEX:
dex.libreUSDT Token:
usdt.libreFast BTC:
btc.libre
Smart Contract Development
Development Environment
Libre Chain uses the Antelope (formerly EOSIO) smart contract platform:
Language: C++
Framework: Antelope CDT
Testing: Local testnet with cleos
Deployment: Multi-sig governance process
Getting Started
Example: Simple Lending Integration
API Integration
REST API Endpoints
Loan Information
Vault Information
Pool Statistics
Token Balances
Real-world Integration Example
Based on the tools.libre.org loan tracker implementation and actual loan contract source code. For complete implementation details, see the libre-tools.com source code:
Direct Chain Integration
Libre Chain does not currently have JavaScript or Python SDKs. Integration is done directly using Antelope/EOSIO APIs and libraries.
JavaScript Integration Example
Bitcoin Integration
Libre Chain provides native Bitcoin integration through the Fast BTC system:
Bitcoin Collateral Integration
Liquidation Monitoring
Testing & Development
Local Testnet Setup
Test Data
Security Considerations
Smart Contract Security
Reentrancy protection: Use proper state management
Authorization checks: Validate all user permissions
Overflow protection: Use safe math libraries
Input validation: Sanitize all external inputs
API Security
Rate limiting: Implement request throttling
Authentication: Use signed transactions for state changes
Input validation: Validate all API parameters
HTTPS only: Always use encrypted connections
Resources
Documentation
Libre Blockchain Tools - Loan monitoring, contract explorer, account history, Bitcoin bridge tracker
Real Implementation Examples - Source code for tools.libre.org showing actual API usage patterns
Tools
Block Explorer: librebloks.io
Libre Blockchain Tools: tools.libre.org
Loan Overview: Monitor USDT loans and BTC collateral
Contract Explorer: Browse smart contract data
Account History Viewer: Download account history to CSV
Bitcoin Bridge Tracker: Track cross-chain transactions
Vault Inspector: Check vault information and balances
Multisig Proposal Viewer: Browse multisig proposals
Tools Source Code: GitHub
Wallet: Anchor Wallet
CLI Tools: cleos documentation
Support
Developer Discord: Join community
GitHub Issues: Report bugs
Documentation: Technical guides
Legacy Developer Resources
For comprehensive technical documentation, see:
Contributing
Libre Chain is open source. Contributions welcome:
Fork the repository
Create feature branch
Submit pull request
Follow coding standards
Include tests for new features
The platform is designed to be developer-friendly while maintaining the security and transparency that Bitcoin users expect.
Last updated
Was this helpful?