Code Monkey home page Code Monkey logo

agora's Introduction

Agora UI

This is the repository for the frontend of Agora, the governance framework built on ICON.

Easy deploy

Fork this repository, head to https://www.netlify.com/, create a team and click on "Add a site". Pick "import existing project", follow the steps and deploy the project. After the initial deployment, click on "project settings" -> Environment variables and set the environment variable as described in the "Environment" section below. enter image description here

Environment

Define the environment variables to set up your project in a .env file:


APP_URL: The URL of your application project.

APP_COLOR: The primary color of your project. It should be in [a hexadecimal form](https://en.wikipedia.org/wiki/Web_colors#Shorthand_hexadecimal_form).

APP_NAME: The name of your project.

APP_SCORE_ADDRESS: The address of your contract.

APP_DECIMALS: The amount of decimals of your voting token (usually 18 for fungible, 0 for NFTs)

APP_SYMBOL: The symbol of the token.

APP_ICON_NETWORK: The network of your contract.

APP_LOGO_HASH: The IPFS hash of your logo.

APP_TWITTER: The Twitter username of your project or the full link.

APP_DISCORD: The Discord ID of your Discord invitation link or the full link.

APP_GITHUB: The GitHub username of your project or the full link.

APP_DECIMALS: The amount of decimals of your tokens, usually 18 for IRC2 and 0 for NFT

Refer

Look at the nuxt 3 documentation to learn more.

Setup

Make sure to install the dependencies:

# yarn

yarn install

  

# npm

npm install

  

# pnpm

pnpm install --shamefully-hoist

Development Server

Start the development server on http://localhost:3000

npm run dev

Production

Build the application for production:

npm run build

Locally preview production build:

npm run preview

Checkout the deployment documentation for more information.

to the .env.example file to see some examples.

agora's People

Contributors

kamensentai avatar lucas-l avatar

Stargazers

 avatar  avatar

agora's Issues

What is the state of Agora

Hi @Lucas-L

We discussed Agora and its features and we had a few open discussion points;

  • Where is Agora hosted
  • Should Agora support soulbound NFTs
  • How much work is required for Agora to be publicised and maintained

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.