Skip to content

slwzero/defi-staking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cake Defi Staking

Dependenies:

Node.js

Ganache(GUI)

truffle website

truffle installed

Metamask extension for Google Chrome installed

1. Smart Contract Part:

Ganache panel, import the truffle-config file into workspace. Set RPC SERVER as HTTP://127.0.0.1:7545


Run codes below:

truffle console
truffle(development)> compile
truffle(development)> migrate
truffle(development)> test


If you want to issue tokens, run this code in command line:

truffle exec scripts/issue-token.js 

2. Front-end Interfaces Part:

  1. Custom rpc in Metamask, new RPC url: HTTP://127.0.0.1:7545
  2. run codes below:

npm install 
npm start 
// open http://localhost:3000/

Go and play defi farming happily!👩‍🌾👨‍🌾, earn your CAKEs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published