Progreso
10%
Protocolo v1.0 · Arquitectura CF diseñada
Workers LPP
5 workers
Gateway · Router · Settlement · Identity · SDK
Durable Objects
2 DOs
NodeManager · TxLedger
Nodos Regionales
6 nodos
MX · CO · PA · BR · PE · CL/AR
Tipos de Mensaje
6 tipos
REQUEST · CONFIRM · SETTLEMENT · REFUND · PING · ROUTE
Chains Settlement
4 chains
Polygon · Ethereum · Solana · Tron
SDK — lpp-js para Desarrolladores
// npm install lpp-js
import { LPP } from 'lpp-js'
const lpp = new LPP({
apiKey: 'lpp_xxxx...',
node: 'pa', // nodo gateway preferido
network: 'polygon' // chain para settlement
})
// Enviar pago — 3 líneas
const tx = await lpp.pay({
to: 'latam://store@co',
amount: 50,
asset: 'USDC'
})
// → { id: 'tx_abc123', status: 'pending', estimated_settlement: '12s' }
// Resolver identidad
const wallet = await lpp.resolve('latam://juan@mx')
// → { wallet: '0x...', verified: true, country: 'mx' }
// Escuchar confirmaciones
lpp.on('settlement', (tx) => {
console.log(`Pago liquidado: $${tx.amount} USDC · hash: $${tx.tx_hash}`)
})