From f0b49c8a71ed761bb40ca4850a6ca3314e42c688 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Ko=C5=BCuszek?= Date: Wed, 20 Mar 2024 11:30:56 +0100 Subject: [PATCH 1/3] Draft --- ...ri_Universe_communication_with_provider.md | 159 ++++++++++++++++++ ...i_Universe_communication_with_provider.svg | 4 + 2 files changed, 163 insertions(+) create mode 100644 src/RFC-ABCD_Tari_Universe_communication_with_provider.md create mode 100644 src/assets/Tari_Universe_communication_with_provider.svg diff --git a/src/RFC-ABCD_Tari_Universe_communication_with_provider.md b/src/RFC-ABCD_Tari_Universe_communication_with_provider.md new file mode 100644 index 0000000..aa4de9e --- /dev/null +++ b/src/RFC-ABCD_Tari_Universe_communication_with_provider.md @@ -0,0 +1,159 @@ +# RFC-ABCD/CommunicationWithProvider + +## Tari Universe Communication with Provider + +![status: draft](theme/images/status-draft.svg) + +**Maintainer(s)**: [Maciej Kożuszek](https://github.com/MCozhusheck) + +# Licence + +[ The 3-Clause BSD Licence](https://opensource.org/licenses/BSD-3-Clause). + +Copyright 2024 The Tari Development Community + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the +following conditions are met: + +1. Redistributions of this document must retain the above copyright notice, this list of conditions and the following + disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS DOCUMENT IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS", AND ANY EXPRESS OR IMPLIED WARRANTIES, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +## Language + +The keywords "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", +"NOT RECOMMENDED", "MAY" and "OPTIONAL" in this document are to be interpreted as described in +[BCP 14](https://tools.ietf.org/html/bcp14) (covering RFC2119 and RFC8174) when, and only when, they appear in all capitals, as +shown here. + +## Disclaimer + +This document and its content are intended for information purposes only and may be subject to change or update +without notice. + +This document may include preliminary concepts that may or may not be in the process of being developed by the Tari +community. The release of this document is intended solely for review and discussion by the community regarding the +technological merits of the potential system outlined herein. + +## Goals + +This RFC propose the model of communication between a wallet daemon and tapplets in Tari Universe. + +## Introduction + +Tari Universe should be built using with [Tauri](https://tauri.app/) which will include a OS process with wallet daemon and root frame which hosts dashboard and has TypeScript provider for communication with wallet. This root frame also hosts tapplets in _\