GithubHelp home page GithubHelp logo

deivitto / v1-core Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bahurum/v1-core

0.0 0.0 0.0 3.09 MB

P⛰️rter C⛰️re

Home Page: https://docs.porter.finance

License: GNU Affero General Public License v3.0

Shell 0.36% JavaScript 0.38% Solidity 24.46% TypeScript 74.80%

v1-core's Introduction

Porter Smart Contracts Porter Smart Contracts

app docs discord blog twitter

V1

Smart Contracts powering the Porter protocol.

Development

For local development there are environment variables necessary to enable some hardhat plugins.

Deployment

Using hardhat-deploy all of the scripts in the ./deploy folder are run.

Deploying to rinkeby

npx hardhat deploy --network rinkeby

Verification

Verify deployed contracts with hardhat-etherscan.

npx hardhat verify <address>

Testing

Running the test suite

npx hardhat test

Fork testing requires first running the mainnet-fork

npx hardhat node

and making the target for testing the local node

npx hardhat test --network localhost

Other useful commands

npx hardhat help
npx hardhat compile # create contract artifacts
npx hardhat clean # removes artifacts and maybe other things
npx hardhat coverage # runs the contract coverage report
npx eslint '**/*.{js,ts}' --fix
npx prettier '**/*.{json,sol,md,ts}' --write
npx solhint 'contracts/**/*.sol' --fix

v1-core's People

Contributors

namaskar-1f64f avatar russeii avatar luckyrobot 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.