From a208affe25e496df6b80e9bed08a0aa5a760dc8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Truszczy=C5=84ski?= Date: Tue, 6 Jun 2023 11:37:54 +0200 Subject: [PATCH] feat: RFC-0154 - /contacts and /profile deep links - Added /contacts and /profile deep links descriptions to the RFC-0154 --- src/RFC-0154_DeepLinksConvencion.md | 32 ++++++++++++++++++++++++++--- 1 file changed, 29 insertions(+), 3 deletions(-) diff --git a/src/RFC-0154_DeepLinksConvencion.md b/src/RFC-0154_DeepLinksConvencion.md index 9c7deab..0d3eb88 100644 --- a/src/RFC-0154_DeepLinksConvencion.md +++ b/src/RFC-0154_DeepLinksConvencion.md @@ -90,6 +90,7 @@ Combining all three components, they will form a deep link with a structure pres tari://mainnet/profile tari://mainnet/profile/username tari://testnet/payments/send?amount=1.23&pubKey=01234556789abcde +tari://nextnet/contacts/list[0][alias]=MrTari&list[0][hex]=01234556789abcde&list[1][alias]=AdamSmith&list[1][hex]=edcba9876543210 ``` ### Deeplinks in use: @@ -113,8 +114,33 @@ The data contains a custom base node configuration. This deep link adds a new ba | name | String | The name of the base node | | peer | String | Base node's public link and onion address combined together | +* `{network_name}/contacts` + +List of contacts. This deep link is used to share multiple Tari contacts with another user. + +| Value Name | Value Type | Note | +| ---------- | :--------------: | ----------------------------------------------------- | +| list | Array\ | List of `Contact` objects | + +`Contact` object + +| Value Name | Value Type | Note | +| ---------- | :--------: | ----------------------------------------------------------- | +| alias | String? | Contact's name/alias | +| hex | String | Contact's Tari Address | + +* `{network_name}/profile` + +User's profile card. It is used to initiate the transaction with a predefined receiver address and presented alias. + +| Value Name | Value Type | Note | +| ---------- | :--------: | ----------------------------------------------------------- | +| alias | String | User's name/alias | +| hex | String | User's Tari Address | + # Change Log -| Date | Change | Author | -|:------------|:--------------------|:----------| -| 19 Apr 2023 | First stable, replace public key with tari address | SWvHeerden| +| Date | Change | Author | +|:------------|:-------------------------------------------------------------|:--------------------------------------------------------| +| 19 Apr 2023 | First stable, replace public key with tari address | [SWvHeerden](https://github.com/SWvheerden) | +| 06 Jun 2023 | Added descriptions for `/contacts` and `/profile` deep links | [Adrian TruszczyƄski](https://github.com/TruszczynskiA) |