Home

Awesome

Ubiquity Dollar

Introducing the flagship product of Ubiquity DAO. Ubiquity's Algorithmic Dollar (uAD) is an algorithmic stablecoin that maintains its peg by virtue of its monetary and fiscal policies.

The deployed smart contracts can be found in the docs.

Ubiquity Dollar Logo

Installation

Build the smart contracts first

#!/usr/bin/env bash
# Ubiquity Dollar Installer

git clone https://github.com/ubiquity/ubiquity-dollar.git
yarn
yarn start

localhost:3000

Committing Code

  1. We automatically enforce the conventional commits format for commit messages. This can be frustrating for junior developers, but I promise that you'll quickly get used to it!

The Conventional Commits specification is a lightweight convention on top of commit messages. It provides an easy set of rules for creating an explicit commit history; which makes it easier to write automated tools on top of.

  1. We use prettier and eslint on staged files in order to enforce a uniform code style. Please do not circumvent these rules or else technical debt may generate quickly.

MetaMask Development Wallet Setup

Network Settings

Make sure you are using the following network configuration:

Shared Private Keys

0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
0x59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d
0x5de4111afa1a4b94908f83103eb1f1706367c2e68ca870fc3fb9a804cdab365a
0x7c852118294e51e653712a81e05800f419141751be58f605c371e15141b007a6
0x47e179ec197488593b187f80a00eb0da91f1b9d0b13f8733639f19c30a34926a
0x8b3a350cf5c34c9194ca85829a2df0ec3153be0318b5e2d3348e872092edffba

Ubiquity Dollar Contracts Setup

This section is for the Ubiquity Dollar core protocol smart contracts (not the UbiquiStick NFT or UI related code.)

You need to create .env file inside the contracts folder with at least the API_KEY_ALCHEMY and the MNEMONIC filled. Indeed MNEMONIC will be used to deploy locally and the first account will be the admin on all the smart contracts.

Run the faucet to get tokens to your address. You will need the UAD_MANAGER_ADDRESS that you can find in the output of the yarn start

YOUR_ETH_ADDRESS= # enter address here
UAD_MANAGER_ADDRESS= # enter address here
yarn hardhat --network localhost faucet --receiver $YOUR_ETH_ADDRESS --manager $UAD_MANAGER_ADDRESS

Sine stabilitate nihil habemus.