Giter Site home page Giter Site logo

jbx-protocol / juice-interface Goto Github PK

View Code? Open in Web Editor NEW
188.0 7.0 123.0 73.1 MB

🧃 An app for using the JBX protocol.

Home Page: https://juicebox.money

License: MIT License

Shell 0.04% TypeScript 96.73% SCSS 2.62% JavaScript 0.51% PLpgSQL 0.10%
ethereum web3 dapp blockchain react juicebox

juice-interface's Introduction

juice-interface

The Juicebox frontend application.

juice-interface is a web application for the Juicebox protocol.

Links

Name Link
Mainnet https://juicebox.money
Sepolia https://sepolia.juicebox.money
Subgraph https://thegraph.com/explorer/subgraph...

Report a bug

Mention @Peel in Discord and someone from our team will triage your request!

Development

Read the development guidelines for instructions on running the app in development.

Contributing

Anyone can contribute! Start here.

Learn more about the Peel team.

Support

Join the JuiceboxDAO Discord and reach out to the development team for development support.

Team

JuiceboxDAO funds Peel to build and maintain the application. Learn more about Peel.

juice-interface's People

Contributors

0xzachvai avatar 0xzoz avatar aeolianeth avatar allevaton avatar benschac avatar crowdin-bot avatar dependabot[bot] avatar filipviz avatar github-actions[bot] avatar jigglyjams avatar jmilldotdev avatar jnoh avatar johnnyd-eth avatar mejango avatar nakedfool avatar nervetrip avatar nnnnicholas avatar odd-amphora avatar palevoo avatar peripheralist avatar rubinovitz avatar seanmc9 avatar sticklo avatar teddywilson avatar timhaines avatar tjrvl avatar tomquirk avatar twodam avatar voltraeth avatar wraeth-eth avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

juice-interface's Issues

Show project owner's balance

To prevent the need for a project to move money in and out of its juicebox treasury (and pay a fee each time), it would be really nice to include the project owner's ETH balance right nearby (under?) the project's treasury.

I also think it'd make things clearer if we made it clear to folks when "distributing" payouts that a 5% fee will be taken from the quoted amount.

These things are quite urgent for SharkDAO. Instead of moving money in and out of Juicebox into the bidding multisig, the money should be taken out once and remain in the multisig for bidding the next day. People visiting the page should see that the balance is in the wallet and not the treasury, or else they'll just see a tiny balance.

image

UI Dangling 0

maybe:
0 in your wallet
23741241 staked

the dangling 0 feels weird
image

Royalties contract

We should be able to route royalties from platforms like opensea to Juicebox projects. Maybe we can discuss here what that implementation would look like.

Add hello world code to home page.

This has yet-to-be-designed, but maybe someone can take a stab at it:

I think the Juicebox target audience might be dev heavy. It'd be cool to have a section on the home screen (http://juicebox.money) with a simple hello world contract where fees are piped through a Juicebox project.

See the Tiles contract for an example of a real-world Juicebox implementer.
Link to relevant parts of it after yarn installing the jbox package:

  1. include the package.
    https://github.com/TileDAO/tiles/blob/80069734af3beea4b1a9ddcfc3ff36a9f3af0e4d/contracts/Tiles.sol#L5

  2. Inherit from JuiceboxProject. https://github.com/TileDAO/tiles/blob/80069734af3beea4b1a9ddcfc3ff36a9f3af0e4d/contracts/Tiles.sol#L9

  3. Take a fee from within your contract's logic. https://github.com/TileDAO/tiles/blob/80069734af3beea4b1a9ddcfc3ff36a9f3af0e4d/contracts/Tiles.sol#L120

Maybe this section of the homepage can live right below the UI for creating a project?

Link not found

Was browsing the site this morning and noticed there's a broken link. Maybe it's just a testnet thing, didn't really look any further.

[RENAME] Issue from github - 2021-08-14T04:16:05.616000+00:00

This channel is being created to automate the creation of issues to github. It still needs improvements, I'll looking into it this week, for now, it sets the title of the issue to "Issue from Discord - " and makes the description based on content of the message. If you guys can try to use it and give feedback, I don't think it's gonna solve problem for now, but maybe it will, so let's try it.

Show UI features based on connected wallet permissions

Currently the app hides certain project actions based on a isOwner property—whether the connected wallet is the owner of a project.

This could be improved by relying on the hasPermission getter in the OperatorStore contract.

Example for getting permission for userAddress to set payout mods (SetPayoutMods = 14):

const canSetPayoutMods = useContractReader<string>({
    contract: ContractName.OperatorStore,
    functionName: 'hasPermission',
    args: [userAddress, owner, projectId.toHexString(), 14]
})

List of integer codes for all permissions: https://github.com/jbx-protocol/juicehouse/blob/main/packages/hardhat/contracts/libraries/Operations.sol

Mint/Distribute reserved tokens modal

Related to #21

Regardless of the word used on the button, a confirmation modal that shows how the reserved tickets will be distributed would be helpful in clarifying its purpose, and probably prevent people from paying the gas for this without realizing what they're doing

s/Ticket(s)/{Token} in frontend

Showing the ticker symbol instead of "Tickets" is probably more direct as to what's happening behind the scenes. It looks like we do this in some places, but not in others. Maybe it's worth offering some more consistency.

Screen_Shot_2021-08-16_at_9 14 34_AM

type

"be be vulnerable"

image

Add details to the modal that appears when "redeem is clicked"

"add some more info to the "redeem" screen that makes the effect of the current bonding curve clearer, and explicitly states that your tokens will be burned" - @peripheralist

I'd also love to see the amount that I can redeem for somewhere on the Dashboard (or at least in the modal). Right now I have to open the modal, and click "Max" to see the amount (img 3)

image

image

image

Experiment with incorporating owner balance into project balance meter

When a project's funding cycle changes and its balance has been fully withdrawn, its balance meter will go to to 0. This can be misleading. How to incorporate the amount that's been paid so far into the balance meter?

  • use the owner's wallet balance
  • show how much has been withdrawn in previous funding cycles.

New "context" to cleanup bloated Dashboard component directory

Create a new ProjectContext to make project-specific information easier to pass down through the Dashboard/Project component tree.

Properties could include:

projectId?: string
handle?: string
metadata?: ProjectMetadata
owner?: string // owner address
isOwner?: boolean // connected user is owner
currentFC?: FundingCycle
queuedFC?: FundingCycle

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.