GithubHelp home page GithubHelp logo

nikolaiyurchenko / fuji-v2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fujicracy/fuji-v2

0.0 0.0 0.0 19.52 MB

Cross-chain money market aggregator

Shell 0.11% JavaScript 0.03% TypeScript 82.16% CSS 0.10% Solidity 17.60%

fuji-v2's Introduction

Fuji v2

Cross-chain Lending Aggregator

Quickstart

  1. Clone repository with the following command:

git clone --recurse-submodules https://github.com/Fujicracy/x-fuji

Note: The 'protocol' workspace in this monorepo uses Git Submodules.

  1. Install Foundry

You can find the instructions here.

Code style

Commit messages

We want to establish rules over how our git commit messages can be formatted. This leads to more readable messages that are easy to follow when looking through the project history. Check conventions here. In general the pattern mostly looks like this:

type(package): subject  #package should be one from "./packages/"

Branch and PR naming

Branch titles have to follow a similar convention:

package/type/short-title  #package should be one from "./packages/"

A pull request title have to include no more than 3-4 words describing what it's about. PR titles start with upper-case.

Protocol

We are using Foundry built-in formatter (more details here). We have configured husky so that it runs before every commit.

Frontend

We use eslint alongside with prettier to format our code.

Every time you commit files, they are automatically formatted thanks to hysky (pre commit hooks), but you may want to enable it in your editor, this way every time you save it'll format it.

To do it in visual code:

  1. Install ESlint extension
  2. Install Prettier extension
  3. Change default formatter and choose "prettier" as default
  4. (optionnal) Enable "format on save"

If you use another editor feel free to add it in this doc.

fuji-v2's People

Contributors

brozorec avatar 0xdcota avatar dolig avatar pedrovalido avatar chris-chevalier avatar ferostabio avatar tiagofneto avatar ben132333 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.