【uniswap v2 dia】

Proof mechaniuniswap v2 diasm: zero-knowledge proof

Why the "Playinterra ultra pet foodg and Earning" game can get a big explosionIn fact, there are five major trends that have driven the explosion of "play while earning" games:

ethereum classic vs ethereum crypto

Trend 1: The blockchain network continues to expand. Remember the network congestion caused by the "crypto cat" CryptoKitties game in 2017? But now, with the emergence of the second-tier Ethereum expansion protocol, a new high-throughput blockchain, and other scalability solutions, there has been a solid foundation for the vigorous development of blockchain native games;Trend 2: NFT becomes mainstream. Many innovations, including the ERC-721 standard, have spawned the recent upsurge in NFT applications. Game companies now have the tools to NFT games, and more importantly, the public can better understand why rare game assets are valuable.Trend 3: DeFi tools and architectures are increasing. Many basic decentralized financial industry tools (for example, AMM automatic market makers) have been tested in actual combat and have been widely implemented. Game developers can combine these tools to realize game financialization and promote purchase, lending, mortgage and other basic financial activities Now they can all enter the game field smoothly.Trend 4: Web2 interoperability. Many traditional large-scale technology giants have also begun to join the decentralized ecosystem, and have also opened up a new distribution mechanism for encryption-driven games. For example, Apple’s recent changes to the App Store can make it easier for iOS users to directly access NFT-based “sides”. Play and earn” game.Trend 5: Metaverse. "Meta universe" has become a new frontier of digital experience, and the rapid rise of this emerging concept has even aroused Facebook's interest.

SummarizeThis summer, Axie Infinity achieved explosive growth, and many people were also very excited about Yield Guild, which in turn promoted the flourishing of "play while earning" games. After this craze, traditional game giants and cryptocurrency thought leaders have also begun to pay attention to "play while earning" games-under this strong tailwind, what other projects will be built in the future is very worthy of attention. For investors exploring the field of "playing and earning" games, now is of course a very "fun" moment, but from a broader perspective, it also marks the occurrence of our views on labor, leisure and value Changes-therefore, the "play and earn" game is definitely an important trend we must pay attention to.As a track that has just begun to rise, Layer 2 has high hopes from many people. Some people think that it will start a new round of "DeFi Summer", and some people think that it will give birth to a Layer 2 comparable to Ethereum. So who has it? This potential? What are the Layer 2 general-purpose projects worthy of our attention?

At present, the zkSync network only supports the transfer function, and the supported currencies are relatively limited. It only supports dozens of mainstream currencies such as UNI, DAI, USDC, etc. As the ZK Rollup solution has relatively large technical difficulties in compatible EVM, it must be implemented Like Arbitrum's current features, it is not yet realistic. At the end of last month, the official also postponed the launch of the testnet zkSync2.0 (EVM version) and gradually opened the testnet in three phases, precisely for this reason.The interesting point is: in zkSync network payment gas, you can use other tokens instead, you don’t need to have ETH, for example: in Gitcoin donation, if you donate with DAI in zkSync network, you can directly use DAI as Gas fee, for those tokens that do not have a liquid market price, the fee can also be paid with other tokens.In the zkSync network, transaction costs are mainly divided into two parts: the off-chain part and the on-chain part. The off-chain part is the calculation cost of state storage and zero-knowledge proof generation, which is fixed, and the official estimate is about 0.001 US dollars per transfer. The on-chain part is that the verifier must pay Ethereum gas to verify the zero-knowledge proof. The cost is mainly based on the gas price of the Ethereum main network, but this is several orders of magnitude cheaper than the normal ETH/ERC20 transfer cost.Proof mechanism: zero-knowledge proof

Advantages of zkSync: Every transaction data is stored on the main chain, which is more secure; it is faster to exit the second-tier network (ideally a few minutes, but the actual measurement takes about 2-3 hours).zkSync challenges: generating zero-knowledge proofs requires a lot of computing resources, and the hardware threshold for zkSync verifiers is relatively high; it is difficult to implement general smart contract functions (this is a problem that all adopters of ZK Rollup solutions currently face).

ethereum classic vs ethereum crypto

Optimism EthereumOptimism Ethereum uses the Optimistic Rollup expansion plan. On January 15 this year, the Optimism team started the trial operation of the mainnet.The Optimism team hopes to establish instant transactions and scalable smart contracts on Ethereum. The team has created an EVM-compatible solution OVM on Layer 2. Optimism is a scaling solution with a complete cross-layer migration function.At present, only projects that apply for the whitelist can be deployed on the Optimistic Ethereum mainnet. There are not many projects that have been built on Optimism, mainly including cross-chain bridge Optimism Gateway, Hop.Exchange, Celer bridge; DEX platforms uniswap, Kwenta, Rubicon, 1 inch; and 13 applications including option trading platform Lyra and Synthtix.

Projects that have been built in OptimismThe official said before that "the conditions for completely removing the whitelist are not yet available, and a major upgrade is planned in the next three months." On September 13th, Optimism announced that it would double the throughput limit of the main network to handle up to 200,000 transactions per day.When using the Optimism network, the following two points are completely different from Ethereum. You must be clear:First: The transaction is processed according to the first-in-first-out principle, so increasing the gas price will not affect the execution speed of the transaction.

Second: Currently, Optimism uses gas limit to encode information about transactions executed on L2 and on L1 post transaction cost information, so do not try to modify the gas limit automatically provided by the application, otherwise your transaction may be rejected.Proof mechanism: fraud proof

福善祸淫网

Optimism advantage: Data is stored on the main chain, and it is easier to support general smart contract technology.Optimism challenge: The exit period of the second layer is long (7 days). This is also a problem faced by all Layer 2 solutions that use fraud proof mechanisms. The overall security is slightly lower than that of the main chain and ZK solutions.

Arbitrum was originally an academic project at Princeton University, established by the team Offchain Labs.Arbitrum's proof mechanism is similar to Optimism above. The difference is mainly reflected in the difference in the data uploaded to the main chain. In the process of processing, when someone thinks that the second-level data is in dispute, they can pay a deposit and submit a proof. At this time, the contract will arbitrate it. In the Optimistic Rollup scheme, a complete contract will be simulated and executed on the main chain. Calling consumes high costs; in the Arbitrum Rollup scheme, firstly, through multiple rounds of interactions at the second layer, the dispute scope is reduced before being simulated on the main chain, the number of interactions is reduced, and the cost of dispute resolution on the chain is reduced. This is the biggest difference between the two schemes.In May of this year, Arbitrum was opened to developers for the first time. On September 1st, the public beta was launched, and the whitelist mechanism was also offline. Similar to Optimism, Arbitrum currently has a clear limit on the upper limit of network processing capacity (80,000 arbgas/s), which roughly matches the current capacity of Ethereum L1, but Arbitrum also stated that as the system becomes stable, the speed limit will be gradually increased in the future. , And continue to improve performance.It is also this limitation. At present, the gas fee of Arbitrum is not very low, which is criticized by everyone, especially when a large number of transactions are influx and reach the upper limit of network capacity, then the cost of L2 will rise further, but compared to the main chain That said, the cost can still be reduced by dozens of times.Comparison of handling fees for Layer 2 transfer of ETH Data source: l2feesIt is undeniable that Arbitrum has fired the first shot of Layer 2 ecological development, but at present, Arbitrum is flooded with too many native dog projects, and everyone must pay attention to risks.

Proof mechanism: fraud proofArbitrum advantages: Data is stored on the main chain, and it is easier to be compatible with EVM; the traditional Optimistic Rollup solution is optimized, which can further reduce costs.

Arbitrum challenge: The exit period of the second layer is longer (7 days), and the overall security is slightly lower than that of the main chain and ZK solutions.StarkNet is a Layer 2 expansion general platform led by StarkWare. It is similar in type to the zkSync we mentioned above, and the difference is mainly reflected in two different zero-knowledge proofs.

zkSync uses zk-SNARKs; StarkNet uses zk-STARKs. For space reasons, the details of the two technologies will not be discussed. We only need to know the final difference: zk-SNARKs on-chain storage space and gas consumption Both are smaller, but zk-STARKs are better in terms of safety.In January of this year, StarkWare announced the roadmap for the development of StarkNet. The team will complete the final Layer 2 ecological deployment (planet, constellation, and universe) in three stages, gradually transition from single-application Rollups to multi-application Rollups, and finally realize the entire governance DAOization.

StarkNet roadmap plans to complete the aggregation of multiple applications before the end of the yearBut currently, StarkNet is still in the testing phase. On September 1, StarkNet released the Alpha 2 test version, which supports the interaction between smart contracts for the first time. It is reported that the team is currently preparing for the release of the StarkNet Alpha mainnet, which will be approved by then Online application in the form of whitelist.In fact, in addition to the StarkNet mentioned above, Starkware has also proposed another expansion solution, StarkEx (Validium). Currently, there are not many applications that use the StarkEx solution. They are the following four: DeversiFi, dYdX, ImmutableX and Sorare.Although StarkEx also belongs to ZK Rollup, not all data is uploaded to the main chain at the first level. Therefore, theoretically, it can have higher scalability and processing speed. It is precisely for this reason that compared to other Rollup solutions, StarkEx network Data availability and security risks are higher.

Proof mechanism: zero-knowledge proofStarkNet advantage: Data is stored on the main chain, which is more secure than other ZK expansion solutions.

StarkNet Challenge: EVM compatible technology is more difficult, and the gas fee is slightly higher than zkSync.Polygon used to be called Matic Network, and the technology used in its L2 chain is plasma.

Plasma essentially belongs to the category of side chains. First, create a smart contract on Ethereum as a connection between the Ethereum main network and plasma sub-chain. This plasma sub-chain can even be a private chain, and data calculation and processing are both In the plasma sub-chain, the executors of layer 2 only need to periodically submit a "state commitment" to the main chain to ensure the credibility of the data off the chain. The security of this scheme is relatively low, so it is basically used by many mainstream research institutions. Abandoned.For example, the OMG Foundation, which previously focused on plasma, also proposed a new expansion research plan this year-Boba network, and what Boba uses is Optimistic in the Rollup plan.

In view of the awkward position of Polygon, many people regard the current Polygon as a pseudo two-layer, but Polygon positions itself as a Layer 2 solution aggregator, which to a certain extent has found another development path for Polygon. Moreover, Polygon has also acquired the ZK Rollup expansion network Hermez launched by iden3, which reduces the doubts about the pseudo-second layer to a certain extent.Proof mechanism: fraud proofPolygon advantage: extremely high scalability, EVM is easily compatible.Polygon Challenge: Security is the lowest among the above-mentioned schemes.

Overall, Optimistic Rollup is the easiest solution to implement under the current technical background, but its essence still does not fundamentally solve the security problem of assets. The ZK Rollup solution may become the final Layer 2 solution, but how to catch up The first-mover advantage of Optimistic Rollup ecological development is also a problem in the ZK Rollup solution.Looking at all the different Layer 2 general solutions, we found that the current Layer 2 does not have a perfect solution. Different solutions have made a trade-off between safety and efficiency, either the former or the latter, but the most The bottom layer and the core effective solution can only be implemented on layer1, which is also the importance of Eth2 sharding.

In the trading market, there is a faintly visible grass snake gray line behind every rise and fall. The cryptocurrency market is no exception.According to data from Coingecko, on September 18, 2021, the price of MX on the Matcha Exchange (MEXC) platform rose 28% from yesterday, reaching a maximum of 1.93 USDT. This is the second time that MX has recorded an intraday increase of more than 20% since the 15th.

This is all related to a rumor circulating in the community.Matcha was acquired by Bybit?

Both Sides of the Table

Perspectives of a 2x entrepreneur turned VC at @UpfrontVC#

Mark Suster

Written by

2x entrepreneur. Sold both companies (last to salesforce.com). Turned VC looking to invest in passionate entrepreneurs 〞 I*m on Twitter at @msuster

Both Sides of the Table

Perspectives of a 2x entrepreneur turned VC at @UpfrontVC, the largest and most active early-stage fund in Southern California. Snapchat: msuster

Mark Suster

Written by

2x entrepreneur. Sold both companies (last to salesforce.com). Turned VC looking to invest in passionate entrepreneurs 〞 I*m on Twitter at @msuster

Both Sides of the Table

Perspectives of a 2x entrepreneur turned VC at @UpfrontVC, the largest and most active early-stage fund in Southern California. Snapchat: msuster