Skip to content

hanious/COS30049-TradePro

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

435 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vercel Link

Develop branch vercel deployment domain: https://tradepro-git-develop-cos30049.vercel.app

How to run our project locally

Install Node.js if you haven't

Navigate to the Project Directory

cd path/to/project-folder

Install npm package

npm install
npm install ganache --global

Open a new terminal

ganache --mnemonic "also spring announce response naive monitor unusual name lecture foster rose oxygen"

Install Metamask extension on browser. Import any private key onto Metamask account.

On Metamask, click on the Network Button.

Image

Configure as follow. Note that the local host link should start with http://127.0.0.1:8545

Image

Open a new terminal

npx hardhat run scripts/deploy.js --network ganache

and paste the trading contract into the const in BuyTradingClient.tsx.

Build and the development server:

npm run build
npm run dev

Open http://localhost:3000 with your browser to see the result.

For the best experience, please use the Command Line integrated within Visual Studio Code.

About

A mockup trading platform built for academics purposes during course COS30049.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 96.9%
  • JavaScript 2.3%
  • Other 0.8%