Skip to main content

From Blockchain to Database: Synchronizing Soroban with PHP

· 7 min read

One of the most interesting challenges when working with blockchain is maintaining precise synchronization between on-chain transactions and our off-chain system. In this article, I'll share how i've solved this challenge in Equillar: how I convert the result of a Soroban smart contract call into a PHP Doctrine entity, achieving an exact replica of the blockchain state in our database.

Calculating equillar commissions in the smart-contract

· 6 min read

When creating the equillar smart-contract, one of the most important decisions was how to structure commissions. Instead of applying a single fixed percentage, we have implemented a dynamic commission system that rewards larger investments with lower rates. This approach incentivizes significant capital contributions while maintaining a fair and accessible base rate for smaller investors.

Handling Smart Contract Errors in Equillar: From Rust to PHP

· 6 min read

Introduction

When building decentralized applications that interact with smart contracts, one of the most critical aspects is proper error handling. In Equillar, a PHP/Symfony-based platform for learning and prototyping blockchain solutions, we demonstrate an error handling strategy that bridges the gap between Rust smart contracts and a PHP backend application.

In this article, I'll explain how to manage contract errors end-to-end, from definition in Rust to user-friendly messages in PHP applications.

What you'll learn: How to implement a robust error handling system between smart contracts and web applications.

How Equillar Uses PHP-Stellar SDK for Soroban Operations

· 11 min read
Equillar Team
Equillar Core Team

Introduction

Equillar is a PHP/Symfony-based fintech platform that serves as both an educational resource and a local development foundation for prototyping blockchain solutions. This article explores how Equillar uses PHP-Stellar SDK to perform blockchain operations, providing insights into integration patterns you can apply in your own projects.

What you'll learn: How to integrate PHP applications with Stellar blockchain, from key-pair generation to smart contract deployment and execution.

Welcome to Equillar Blog

· 3 min read
Equillar Team
Equillar Core Team

Introduction

Lately, I've been fascinated by the intersection of blockchain technology, smart contracts, and the fintech world. The potential to create transparent, efficient, and accessible financial systems using decentralized technologies has captured my imagination.

As a developer who's spent considerable time working with PHP and Symfony, I found myself constantly thinking: "What if I could combine the reliability and developer experience of these mature technologies with the innovation of blockchain?"