Git Product home page Git Product logo

workflows-git's Introduction

Aragon OSx Commons

A collection of shared resources and utilities for the Aragon OSx DAO Framework and plugin developers

Project

The root folder of the repo includes four subfolders:

.
├── configs
├── contracts
├── sdk
├── subgraph
├── ...
└── package.json
  • The configs folder contains general configurations such as the contract addresses for each network that Aragon OSx has been officially deployed to, which are importable in JS/TS code.
  • The contracts folder contains Solidity smart contracts being used by the OSx framework and for plugin development.
  • The sdk folder contains various JS/TS helper functions that can be used in the OSx repo and plugin repos for for testing and deployment.
  • The subgraph contains various JS/TS helper functions that can be used in the OSx repo and plugin repos for subgraph development.

The root-level package.json file contains global dev-dependencies for formatting and linting. After installing the dependencies with

yarn install

you can run the associated formatting and linting commands.

Formatting

yarn prettier:check

all .sol, .js, .ts, .json, and .yml files will be format-checked according to the specifications in .prettierrc file. With

yarn prettier:write

the formatting is applied.

Linting

With

yarn lint

.sol, .js, and .ts files in the subfolders are analyzed with solhint and eslint, respectively.

Setting Environment Variables

To be able to work on the contracts, make sure that you have created an .env file from the .env.example file and put in the API keys for

  • Alchemy that we use as the web3 provider
  • Alchemy Subgraphs that we use as the subgraph provider
  • the block explorer that you want to use depending on the networks that you want to deploy to

You can also change the default hardhat private key (PRIVATE_KEY="0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80"). Note however, that the contracts in this repo are not meant to be deployed directly.

Audits

Our smart contracts undergo regular audits.

v1.0.0

Version 1.0.0 of osx-commons-contracts has been audit when it was part of the aragon/osx repo.

Halborn: link 1, link 2

v1.3.0

Version 1.3.0 of osx-commons-contracts has been audit when it was part of the aragon/osx repo.

Code4rena: link 1, link 2

Halborn: link 1, link 2

Contributing

If you like what we're doing and would love to support, please review our CONTRIBUTING_GUIDE.md here. We'd love to build with you.

Security

If you believe you've found a security issue, we encourage you to notify us. We welcome working with you to resolve the issue promptly.

Security Contact Email: [email protected]

Please do not use the issue tracker for security issues.

workflows-git's People

Contributors

claubv23 avatar rekard0 avatar josemarinas avatar heueristik avatar mathewmeconry avatar jordaniza avatar novaknole avatar

Watchers

 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.