FAQ #3
Replies: 27 comments 1 reply
-
Q: What languages will be supported for ISCP? |
Beta Was this translation helpful? Give feedback.
-
Q: Why are IOTA Smart Contracts Layer 2? |
Beta Was this translation helpful? Give feedback.
-
Q: Pros of IOTA Smart Contracts? |
Beta Was this translation helpful? Give feedback.
-
Q: What are the tradeoffs of using IOTA Smart Contracts in comparison to Ethereum Smart Contracts? |
Beta Was this translation helpful? Give feedback.
-
Q: Why aren't Smart Contracts free? |
Beta Was this translation helpful? Give feedback.
-
Q: How secure are IOTA Smart Contracts? |
Beta Was this translation helpful? Give feedback.
-
Q: How do Wasp Nodes connect to Goshimmer Nodes? |
Beta Was this translation helpful? Give feedback.
-
Q: What is the difference between wwallet and wasp-cli? |
Beta Was this translation helpful? Give feedback.
-
Q: wasp-cli request-funds - Faucet request seems to have failed. What should I do? |
Beta Was this translation helpful? Give feedback.
-
Q: How are misbehaving validator nodes inside a committee slashed? |
Beta Was this translation helpful? Give feedback.
-
Q: If a certain node stakes higher then others, does it get more rights and privileges in the committee? |
Beta Was this translation helpful? Give feedback.
-
Q: Can a committee censor requests? |
Beta Was this translation helpful? Give feedback.
-
Q: Where will the validator node's staked funds reside? |
Beta Was this translation helpful? Give feedback.
-
Q: Can a committee change validator nodes? |
Beta Was this translation helpful? Give feedback.
-
Q: ISCP is a “multichain” environment. What does this mean? |
Beta Was this translation helpful? Give feedback.
-
Q: Why isn't mana used for staking? After all it does describe a node's reputation? |
Beta Was this translation helpful? Give feedback.
-
Q: What are request tokens and what is their purpose? |
Beta Was this translation helpful? Give feedback.
-
Q: what happens if too many requests are happening to a smart contract? on something like ethereum gas price ensure it doesn't happen so i wonder how a smart contract would prevent itself getting congested? A: here are several things. One chain can handle even 100 TPS (Ethereum is 11 TPS for the whole network iirc) . We can have many parallel chains and the total TPS is limited by the tangle throughput. IOA 2.0 has congestion control on L1. We have fees and we can also introduce gas if needed. We also can introduce exotic strategies, something like requiring 1Mi for each request of collateral and returning it all back if same address doesn't send next request in at least 2 min. |
Beta Was this translation helpful? Give feedback.
-
Q: Does every smart contract have its own chain? And in that case would these measures like fees etc be implemented by each contract or would it be network-wide? A: No, each chain can host many smart contracts, just like any other blockchain. The contracts on one chain can interact just calling each other, like functions |
Beta Was this translation helpful? Give feedback.
-
Q: What determines the transaction hash of a smart contract tx? A: every SC transaction is a value transaction. The ID of value transaction in Goshimmer (aka tx hash) is a hash of the following: inputs, outputs, data payload (which in sc transaction contains sc metadata), user timestamp, mana pledge and signatures |
Beta Was this translation helpful? Give feedback.
-
Q: does a smart contract have a build in way to keep state? If yes how large can this state be? A: Yes. It's all about the state. A SC without state is probably not very useful. |
Beta Was this translation helpful? Give feedback.
-
Q: do IOTA smart contracts own addresses, and thus own IOTA if it is sent there? A: a bit different. We have many chains and each chain has an address on the Tangle. There are many smart contacts on each chain. Therefore smart contract is identified by chain address + contract ID on the chain , i.e. just one address is not enough You can send (deposit) tokens to the smart contract and it will own it. If you send token to the plain chain address on the tangle, some fallback action will be invoked, for example all those tokens will be accrued to the chain owner or returned to the sender. |
Beta Was this translation helpful? Give feedback.
-
Q: How does committee selection work? What prevents a bad actor from taking over an entire committee? A: there's no automatic committee selection in ISCP. You form a consortium and run a chain. The chain is as secure as committee is. |
Beta Was this translation helpful? Give feedback.
-
Q: if the colour is the criteria to distinct between coloured coins, does it mean the max. possible amount is equal to the max possible hex color code combinations? A: This isn’t an RGB hex code if that is what you mean. |
Beta Was this translation helpful? Give feedback.
-
Q: wich runtime have you choose to run wasm ? A_ wasmtime |
Beta Was this translation helpful? Give feedback.
-
Q: So a smart contract owns iota on layer 1 or does the committee own the iota (in 1 address with shared key or something) and a smart contract only owns layer 2 tokens created by the committee (which are backed by the iota on layer 1)? A: Smart contract owns L1 asssets in its account on the chain. On L1 it looks like all smart contracts of then chain holds their tokens in one address, owner by the committee. However, chain logic maintains accounts in its state. A smart contract can’t own tokens contained in some other address on L1. |
Beta Was this translation helpful? Give feedback.
-
Q: how their smart contract subchains are secured by L1. Sure, the subchain state is validated by L1 and therefore resistant to reorgs. But that doesn't help me if the sidechain operator (or consortium) e.g. stops block processing and demands a ransom for my funds. A: The short answer: trust/security of the chain is equal to the trust to the committee. Trust to the committee is proportional to its “skin in the game”, how much it will lose for provable misbehavior (universal principle). In consortiums “skin in ghe game” is a real world reputation (if you are CocaCola, you wont misbehave to steal 1 USD) or legal commitment (court will punish you for misbehavior). For permissionless market validators are staked with assets, it means you will lose your asset if you misbehave. It is all game theory |
Beta Was this translation helpful? Give feedback.
-
Please use this discussion thread to post and discuss frequently asked questions about ISCP.
Beta Was this translation helpful? Give feedback.
All reactions