Replies: 5 comments 5 replies
-
@Ryun1 As discussed via call, we should aim for standard environments:
As for the network, each instance of our dApp should be able to connect to all. dApp is network agnostic and the network should be a matter of config - a simple env. var passed to the dApp OR which ever network is connected via wallet. Then we should definitely handle the wallet or network incompatibility in the dApp... If dApp is connecting to a network which is not gov-ready or if incompatible wallet is used - we need to have a meaningful info/notification for a user. Further more, our DEV and QA should never connect to Mainnet or the PROD should never connect to Preprod... At this time, Sancho is, for all intents and purposes our Mainnet and we should treat it as such. Our "beta" is only a construct, and we don't need to have a domain prefix "beta" for it... We might as well simply run our BETA on gov.tool and have a notification on a screen informing users that we are in beta... Eventually when we are not in beta anymore, nothing changes - except the underlaying network in the background! In other case... if we have something like beta.gov.tools and then sancho.dev.gov.tools and about 14 more {env}.{network}.{domain} combinations... we will have to manage 3-4 times more environments but also pay 3-4 times more for the infra (thousands of EUR per month) for basically no benefits... Arguably, even if a domain is beta.dev.sancho.gov.tool it only means something to US... to regular Joe out-there... it does not mean a thing :) But for regular Joe, when he visit gov.tools and then have a modal overlay notification "Hey. We are in beta. You are connected to Sancho network"... OR "Hey. We are in beta. Please use compatible wallet (and then the link to more details)... |
Beta Was this translation helpful? Give feedback.
-
I find two issues with your approach; Confusion for users (and ourselves)Having a known instance of GovTool (gov.tools) switch between networks, is just confusing for users and us. I can already seeing myself replying to multiple messages a day, asking why their wallet doesnt work on GovTool anymore. Added complexity for testing across networksDifferent networks have different purposes and will have different features deployed at different times.
The codebase is network agnostic (can be deployed to any network), but each instance when deployed can only connect to one network at a time.
due to a limitation of CIP-30's design, GovTool (or any Cardano dApp) cannot easily differentiate between which test network the wallet is connected to. |
Beta Was this translation helpful? Give feedback.
-
@kickloop and myself have worked to create a refined minimal proposal. differences, to my first proposal;
Notes
|
Beta Was this translation helpful? Give feedback.
-
GovTool Proposed Networks / EnvironmentsFor the coming weeks, then can be iterated upon Notes
Summary Table
|
Beta Was this translation helpful? Give feedback.
-
Domain expression
|
Component | Definition | Examples |
---|---|---|
{be-service} |
Backend service, only used for non-user facing domains | metadata for govtool, be for pdf |
{govtool pillar or tool} |
GovTool pillar OR CC Portal OR nothing for the existing govtool monolith | proposal for pdf, constitution for cc-portal |
{environment} |
The purpose of the environment, not used for user facing environments | dev , test , staging |
{network} |
The network that the instance is connected to, not used for sanchonet and not used for mainnet | preview |
{gov.tools or sanchogov.tools} |
The base domain, sanchogov.tools is only used for Byron hosted envs, gov.tools is for everything else |
gov.tools or sanchogov.tools |
Example, for GovTool+PDF on preview user facing env:
preview.gov.tools
(GovTool+PDF frontend - user accessible)be.preview.gov.tools
(GovTool BE)metadata.preview.gov.tools
(GovTool BE metadata service)be.proposal.preview.gov.tools
(PDF BE)
Beta Was this translation helpful? Give feedback.
-
What ?
Proposal 1st step (add preview)
Proposal Future (add preview and mainnet)
Beta Was this translation helpful? Give feedback.
All reactions