rolic-hub / decentralized-stableCoin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Foundry Defi StableCoin

This project is meant to be a stablecoin where users can deposit WETH and WBTC in exchange for a token that will be pegged to the USD.

Usage

Build

$ forge build

Test

$ forge test

Format

$ forge fmt

Gas Snapshots

$ forge snapshot

Anvil

$ anvil

Deploy

$ forge script script/DeployDSC.s.sol:CounterScript --rpc-url <your_rpc_url> --private-key <your_private_key>

Cast

$ cast <subcommand>

Help

$ forge --help
$ anvil --help
$ cast --help

About


Languages

Language:Solidity 97.8%Language:Makefile 2.2%