-
Notifications
You must be signed in to change notification settings - Fork 41
App Ids for Forks
The APP ID
is a required config parameter.
Every transaction sends an additional payload with the app. This ID allows to track the app where a transaction comes from.
APP ID | APP |
---|---|
01 | Gnosis Protocol Web (default for local development) |
02 | Mesa |
03 | Razor Network |
04 | StarCurve |
05 | Gnosis Safe App: CMM |
Anyone can get it's own App Id. Keep reading if you need one :)
Write in our Discord Community Chat to get the App Id.
Message example:
Hello, I'm forking Gnosis Protocol Frontend, I would love to get an APP ID assiged in the wiki https://github.com/gnosis/dex-react/wiki/App-Ids-for-Forks
My project details are:
* Name: <your-name>
* Project: <project_name>
* Url for the project: <website>
* Any additional information: <add any relevant information, like why you want to fork the front end, and what are your plans>
Every transaction sent to the blockchain will include, the appId
and some analytics flags as an additional payload.
This will allow to identify which Dapp or client is submitting the transaction, and some basic analytic data, like browser, wallet or screen size.
The transactions will have in their data: <normal-payload><sentinel><appId><analytics-data>
Where:
-
normal-payload
is the ABI encoded parameters of the call -
sentinel
is alwaysdec0de
-
appId
identifies the app -
analytics-data
are 6 digits: 2 for provider name, 1 for mobile or desktop flag, 2 for browser name, 1 for screen size.
For example given
-
fixed_sentinel
'dec0de'
๐ - appId 1, left-padded with 0 to length of 2, (01) ๐
- provider Metamask (01) ๐
- desktop (0) ๐
- browser Chrome (13) ๐
- XL(width >= 1200px) screen size (0) ๐
i.e.
<normal-payload>dec0de01010130
The web can be forked. This way any project can use its own token list, rebrand it, add new pages or modify the existing ones.
Read more here.