Difference between revisions of "Users interact with dapps without tokens"

From Internet Computer Wiki
Jump to: navigation, search
Line 1: Line 1:
==Reverse Gas Model (AKA "canister pays")==
+
The common model for users to interact with a blockchain is by buying/owning tokens, holding them in a wallet, and signing transactions from that wallet. This can be quite costly, especially with more popular blockchains as their token price is generally high. Once the user acquires tokens, they are often used to pay transaction (or gas) fees to simply use the network. Although this model is nice in theory, it is not practical as very little computation is performed in each transaction which can have a rather large transaction fee. In addition to this, many blockchains run their user interface using cloud service providers. This heightens the cost inefficiency as both the developer and the user pays - the developer for the cloud services, and the user for the blockchain interactions.
  
In dapps built on Ethereum (as an example), users require a wallet or tokens to use it. This slows down adoption of dapps because using a dapp is not as simple as clicking on a website link; it requires users to buy tokens, install browser plugins, etc. Internet Computer dapps have he "Reverse Gas model" where users can interact with a dapp without having to pay in tokens since the canister can store a certain amount of cycles and pay for the user.
+
===Reverse Gas Model (AKA "canister pays")===
 +
Internet Computer dapps adopt a "Reverse Gas model" where developers load canisters with computation cycles in advance which in turn allows users to interact with a dapp without having to pay in tokens.
  
As an example, the Motoko Playground dapp is hosted and executed entirely on-chain and it does not require visitors to pay for the computation: https://m7sm4-2iaaa-aaaab-qabra-cai.raw.ic0.app/
+
As an example, the Motoko Playground dapp is hosted and executed entirely on-chain and it does not require visitors to pay for the computation: https://m7sm4-2iaaa-aaaab-qabra-cai.raw.ic0.app/. The [http://identity.ic0.app Internet Identity app] is also a free to use application running on the IC.

Revision as of 18:04, 29 August 2022

The common model for users to interact with a blockchain is by buying/owning tokens, holding them in a wallet, and signing transactions from that wallet. This can be quite costly, especially with more popular blockchains as their token price is generally high. Once the user acquires tokens, they are often used to pay transaction (or gas) fees to simply use the network. Although this model is nice in theory, it is not practical as very little computation is performed in each transaction which can have a rather large transaction fee. In addition to this, many blockchains run their user interface using cloud service providers. This heightens the cost inefficiency as both the developer and the user pays - the developer for the cloud services, and the user for the blockchain interactions.

Reverse Gas Model (AKA "canister pays")

Internet Computer dapps adopt a "Reverse Gas model" where developers load canisters with computation cycles in advance which in turn allows users to interact with a dapp without having to pay in tokens.

As an example, the Motoko Playground dapp is hosted and executed entirely on-chain and it does not require visitors to pay for the computation: https://m7sm4-2iaaa-aaaab-qabra-cai.raw.ic0.app/. The Internet Identity app is also a free to use application running on the IC.