This repository contains the code for a Solana backed stablecoin project, overcollateralised by SOL.
You should have the following installed:
-
Rust: Our smart contract is written in Rust.
-
Node.js: This is required for running our tests and scripts.
-
Anchor: Anchor is a framework for Solana’s Sealevel runtime providing several convenient developer tools.
-
Solana Tool Suite: Solana CLI tools is needed to interact with Solana blockchain.
- Clone this repository:
git clone https://github.com/simrat12/Solana_Stablecoin.git
cd Solana_Stablecoin - Install the dependencies:
npm install
- Build the smart contract:
anchor build
- Run the tests:
anchor test
-
cd App, -
cd mainpage -
install dependencies
npm install--legacy-peer-deps -
run the development
npm run dev
**Open another terminal
cd dashboard- install dependencies
npm install--legacy-peer-deps - run the development
npm start