moonstream-to / frontend Goto Github PK
View Code? Open in Web Editor NEWMoonstream apps portal
Moonstream apps portal
We should be able to send chain=mumbai (or polygon, or wyrm, etc) in the query string to specify the chain. The frontend should not break, but rather it should prompt the user to switch to the specified chain. If they don't have that chain, we can send them to instructions on how to add it to their metamask. Here is an example: https://faucets.chain.link/mumbai .
Can we move the button to the center like so?
Unlike the original Dropper contract, the new Dropper contract represents everything on-chain in smart contract state.
It also makes a significant change in that idempotence is based on a (claimID, requestID)
pair, and not just on (claimID, claimant)
. This means that a single drop can be used to distributed tokens to a specific claimant multiple times.
The Dropper administration frontend should be modified to interact with the DropperV2 contract as opposed to the previous combination of the (old) Dropper contract and Dropper API.
/metatx
APIPreviously, the claims available to a particular claimant were being stored on the same API subroute as the one that managed drops. We have deprecated that API in favor of the new /metatx
API designed to work with Dropper 0.2.0 (and more).
Users should be able to add claimants to a drop by submitting requests to the /metatx
API.
Garden of Forking Paths games should be accessible from Moonstream Portal front page:
@ishihssihshihishsi to prepare illustration. Use a placeholder if he doesn't have time before ETH Denver.
Good placeholder:
I was on the Analytics screen and I wanted to see if an event was in the ABI.
So I typed ctrl-f <event name>
. It didn't return any results.
When I manually scanned the ABI, I did find the event.
This tells me that ctrl-f search is not searching the text in the ABI field. This is a bad user experience.
I found a couple of links that are not displayed as links (they should be underscored). "Contact us" should lead to discord (https://discord.com/invite/K56VNUQGvA).
Mumbai: https://mumbai.polygonscan.com/
Should prompt user to switch metamask to the specified chain or add it to their wallet if it's not already there.
@s-c-orr can you provide some details here?
Needs to be more obvious whether they are actually choosing a path. Transaction should not be process if no characters are selected.
If a player goes to https://moonstream.to/drops/<chain ID>/<Dropper Address>
, they should be able to see the drops available to them on the /metatx
API for the given Dropper contract (specified by chain ID and Dropper Address).
From this screen, they should be able to submit the transactions to claim each of those drops.
hook to read and write state of a GoFP contract
Also needed context and reducer for the internal state
using isContract
using supportedInterfaces
createPoolV2
was introduced recently and allows users to set metadata URI in same transaction as pool creation.
All the Terminus contracts currently deployed are using this functionality. We should support this on the frontend.
Improve error layout and information
we need to render metadata descriptions as markdown
Almost everything we've discussed yesterday on the meeting has been added to the design - link to figma. The main changes have affected the claimlist: a column with a signature has been added, the editing states and the addition of a new claimant have been corrected, and the ability to download csv has been added.
I'll do a few more things today and will keep you informed. If anything is necessary from me, please let me know.
Currently, the URL route remains https://moonstream.to/portal/analytics
regardless of which subscription is currently open:
I would like the URL to have a query parameter like:
https://moonstream.to/portal/analytics?subscription_id=<id>
That way users can save links to specific subscriptions. We could even add query parameters that highlight a query in the subscription view.
This will already be useful for users who want to store links a shortcuts to specific operations. It will be even more useful when we add sharing functionality into the application.
List of watched addresses
Adding watched address
Adding ABI for smart contract
Display stored details for selected address
Display available queries or selected address
Display parameters of selected query for edit
Run query and provide link to download results
Edit ABI
Using backend to suggest New Address details
Manipulate the list of available queries for address
Edit address details, unwatch
Some queries require parameters in the form: n {days | weeks | months | years} ago
The frontend should have a specific input component that users can use to specify this information.
It requires them to choose two things:
n
days
, weeks
, months
, or years
(radio)Split existing functionality to smaller components like:
So this components could be easily used by other teammates and contributors to bring functionality faster and with less code duplications.
They should be available at greatwyrm.xyz or some subdomain thereof, not at portal.moonstream.to
Design:
TODO:
When creating a new pool or updating metadata URI for existing pool, changes are not reflected on UI without an explicit refresh from user.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.