project screenshot 1
project screenshot 2
project screenshot 3

ARBISCORE

This is an on chain AI agent that generates credit scores for our lending protocol and we also have an API that can be used for other projects as well

ARBISCORE

Created At

Agentic Ethereum

Project Description

This project is a smart contract written in Rust using the Stylus SDK, which allows developers to write Ethereum-compatible smart contracts in Rust and compile them to WebAssembly (WASM). The contract is designed to be ABI-compatible with Solidity, meaning it can be called from both Solidity and Rust, making it highly versatile.

The contract implements a Q-learning algorithm for a lending protocol. Q-learning is a reinforcement learning technique used to optimize decision-making in dynamic environments. In this case, the algorithm is applied to a lending protocol to optimize decisions such as:

Whether to approve a loan.

How much credit to extend to a user.

When to liquidate a loan.

How it's Made

Rust:

Chosen for its performance and memory safety features. Used to write the entire smart contract logic efficiently. Stylus SDK:

Provided tools to define contract storage and public functions using Rust. Simplified the process of compiling the Rust code to WebAssembly (WASM). Enabled ABI compatibility for interoperability with Solidity. WebAssembly (WASM):

Compiled smart contracts to an efficient and portable binary format. Made contract execution fast and secure on the blockchain. Ethers-rs:

Used to connect to the Ethereum blockchain, send transactions, and call contract functions. Simplified interaction between the Rust contract and the blockchain. Environment Variables:

Stored sensitive configuration data, including private keys and RPC URLs, securely outside the codebase.

background image mobile

Join the mailing list

Get the latest news and updates