Thanks to visit codestin.com
Credit goes to github.com

Skip to content

lastdotnet/usdxl-core

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build pass

.##.....##..######..########..##.....##.##......
.##.....##.##....##.##.....##..##...##..##......
.##.....##.##.......##.....##...##.##...##......
.##.....##..######..##.....##....###....##......
.##.....##.......##.##.....##...##.##...##......
.##.....##.##....##.##.....##..##...##..##......
..#######...######..########..##.....##.########

USDXL

This repository contains the source code, tests and deployments for both USDXL itself and the first facilitator integrating HypurrFi. The repository uses the Foundry development framework.

Description

USDXL is a decentralized, protocol-agnostic crypto-asset intended to maintain a stable value. USDXL is minted and burned by approved entities named Facilitators.

The first facilitator is the HypurrFi V3 Ethereum Pool, which allows users to mint USDXL against their collateral assets, based on the interest rate set by the HypurrFi Governance. In addition, there is a FlashMint module as a second facilitator, which facilitates arbitrage and liquidations, providing instant liquidity.

Furthermore, the HypurrFi Governance has the ability to approve entities as Facilitators and manage the total amount of USDXL they can generate (also known as bucket's capacity).

Documentation

See the link to the technical paper

Audits and Formal Verification

You can find all audit reports under the audits folder

Getting Started

Clone the repository and run the following command to install dependencies:

forge i
cp .env.example .env
# Fill PRIVATE_KEY and PUBLIC_KEY in the .env file with your editor
code .env

Compile contracts:

forge build

Run the test suite:

forge test

Deploy and setup USDXL in a local Anvil network:

anvil
# In a new terminal:
forge script script/DeployUsdxl.sol --broadcast --fork-url http://localhost:8545

Deploy and setup USDXL in Goerli testnet:

forge script script/DeployUsdxl.sol --broadcast --rpc-url $GOERLI_RPC_URL

Connect with the community

You can join the Telegram channel to ask questions about the protocol or talk about USDXL with other peers.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Solidity 75.5%
  • Python 12.3%
  • TypeScript 9.7%
  • Ruby 2.4%
  • Makefile 0.1%
  • Shell 0.0%