Giter Site home page Giter Site logo

wolfcito / rep-and-roles Goto Github PK

View Code? Open in Web Editor NEW

This project forked from atxdao/rep-and-roles-starter-kit

0.0 0.0 0.0 7.31 MB

Home Page: https://reputation-and-roles-monorepo-nextjs.vercel.app

License: MIT License

Shell 0.20% JavaScript 25.62% Ruby 5.00% Python 0.57% TypeScript 9.02% CSS 0.01% Nix 0.01% Makefile 0.05% Solidity 59.53%

rep-and-roles's Introduction

Reputation & Roles Starter Kit

An open-source toolkit used to quickly and easily deploy your own Reputation & Roles smart contracts along with a decentralized application to interact with them.

Requirements

Mac or Linux OS. Windows Subsystem for Linux on Windows OS.

Quickstart

Quickstart Tutorial Video

To get started with Reputation & Roles, follow the steps below:

  1. Clone this repo & install dependencies
git clone https://github.com/atxdao/reputation-and-roles-monorepo.git
cd reputation-and-roles-monorepo
yarn install
  1. In your terminal, setup the environment by cloning the environemnt example
yarn setup
  1. On the first terminal, run a local network:
yarn chain
  1. On the second terminal, start your NextJS app:
yarn start

Visit your app on: http://localhost:3000.

Connect a burner wallet.

Copy the wallet address.

Return to your code editor, navigate to ~/packages/foundry/script/Deploy.s.sol, and replace the value of the controller variable with your copied wallet address (make sure to save your file after doing so!).

This command starts a local Ethereum network using Foundry. The network runs on your local machine and can be used for testing and development.

  1. On a third terminal, deploy the test contract:
yarn deploy

This command deploys a test smart contract to the local network. The contract is located at packages/foundry/lib/reputation/src/ReputationTokensStandalone.sol.

The yarn deploy command uses the deploy script located in packages/foundry/script/Deploy.s.sol to deploy the contract to the network. You can also customize the deploy script.

  1. View results on webpage

Re-visit your app on: http://localhost:3000.

Refresh the page if you need to!

On the home page, you should see many colorful and variable cards and widgets which display your Reputation Tokens in full force!

By navigating to the Debug Contracts page, you can interact with and view the properties of your deployed Reputation System!

Deployments

To deploy to the default network (typically locahost): yarn deploy

To deploy to a specific network: yarn deploy --network <NETWORK_NAME>

rep-and-roles's People

Contributors

hotmanics avatar wolfcito 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.