Replies: 1 comment
-
what is benefit of run a host ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Abstract
HotPocket smart contracts hosted on Evernode are layer-2, thus making them function and interactable on 2 different networks. HotPocket smart contracts operate on their own respective cluster of 3rd party hosts (nodes), or to simplify: their own independent L2 network built atop of the XRPL. HP smart contracts are therefore interactable on their respective L2 network via websocket as well as on the XRPL via their own XRPL account. There are 2 primary ways to interact with HP smart contracts:
The smart contracts' code, state and execution of their code are not performed or stored within the XRPL whatsoever but HP smart contracts are interactable on the XRPL as each smart contract would have its own XRPL account controlled by nodes in a decentralized manner using a multisig solution which allows selected nodes to systematically come to agreement on on-chain transactions, making HP contracts truly decentralized on both layers (L1 & L2).
XRPL's multisig solution
The XRPL has a multsig solution which allows your account to define a list of trusted accounts, which gives them the right to sign transactions on behalf of your account. This feature enables nodes to control a contract's XRPL account in a decentralized manner.
A little fact on XRPL's multisig:
An XRPL account that has setup multisig features a list of accounts with their own respective voting power/weight and a minimum required quorum value, which if reached, will allow a transaction to be validated successfully on the XRPL.
Example:
How nodes participate (w/ multisig)
Here's an example of an environment where a contract has 13 nodes on its cluster:
The contract could only have 8 out of the 13 nodes to be included on its XRPL account's multisig list, 5 other nodes will not be having on-chain voting rights on the contract's XRPL account as there could only be 8 signers on a multisig list
(unless the ExpandedSignerList amendment passes, which would allow 32 signers to be on a multisig list).
If the ExpandedSignerList amendment is enabled in the future, contracts could be much more decentralized and trustless as the custody to their XRPL account would be shared among up to 32 nodes. This would also have the benefit of making it much more difficult to compromise the contract's XRPL account through insecure nodes.
If you're a rippled validator and want to see Evernode succeed, vote
Yes
for the ExpandedSignerList amendment: it helps Evernode as a platform as smart contracts hosted on 3rd party hosts are able to distribute on-chain voting permission to32
nodes, as compared to8
which increases security and the decentralized aspect of contracts.Credits
Author - Wo Jake
Reviewer - Effofexx
Welcoming all views, discussions, thoughts and questions on this thread.
Beta Was this translation helpful? Give feedback.
All reactions