Skip to content

Appppo/otter-frontend

 
 

Repository files navigation

This is the front-end repo for OtterClam Finance.

🔧 Setting up Local Development

Required:

git clone https://github.com/OtterClam/otter-frontend.git
cd otter-frontend
yarn install
npm run start

The site is now running at http://localhost:3000! Open the source code and start editing!

Run the app

Add this line to /etc/hosts

127.0.0.1 app.otterclam.local

Go to http://app.otterclam.local:3000 You can see the app now!

Start a local node forked from Polygon

To test web3 integration, you can setup a local node forked from Polygon. Interact with local fork can test the contract interaction behavior without actually spend token on the Mainnet.

git clone git@github.com:OtterClam/otter-contracts.git
cd otter-contracts
yarn install
yarn hardhat node

Config local network to metamask

You need to config your metamask to connect to the local node. Use "Add Network" function with the following information:

  • Network Name: Hardhat Localhost
  • New RPC URL: http://localhost:8545
  • Chain ID: 31337
  • Currency Symbol: MATIC

Now you can perform transaction against local node!

👏🏽 Contributing Guidelines

We keep an updated list of bugs/feature requests in Github Issues.

GitHub issues

Filter by "good first issue" to get your feet wet! Once you submit a PR, our CI will generate a temporary testing URL where you can validate your changes. Tag any of the gatekeepers on the review to merge them into master.

Pull Requests: Each PR into master will get its own custom URL that is visible on the PR page. QA & validate changes on that URL before merging into the deploy branch.

NOTE: For big changes associated with feature releases/milestones, they will be merged onto the develop branch for more thorough QA before a final merge to master

🌏 Adding Translations

Thank you for helping to bring the OtterClam project to a wider community! 🦦

To add a new language to the supported list, the following steps are required:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 77.2%
  • SCSS 17.6%
  • JavaScript 4.9%
  • Other 0.3%