
Editor's Note: This article comes fromDappReview(ID:dappreview), Author: DR Little Partner, reprinted by Odaily with authorization.
Editor's Note: This article comes from
, Author: DR Little Partner, reprinted by Odaily with authorization.
According to past experience, every time Enjin breaks a big news, it is bound to show a wave of pulling operations. After the news of the cooperation between Enjin and Samsung was released last year, the scene of 70% of the crazy pull is still as clear as yesterday. On the evening of February 4th, Enjin once again taught everyone what it means to use news to pull orders. After the official announcement that the Enjin Platform (Enjin Platform) will be launched soon, the currency price once rose by nearly 40% within 2 hours. This is just "coming online". When it is officially launched on February 18, the currency price will jump by 30%+ again. It is rare in the industry for a project party like Enjin that "not only pulls the market, but also does things". Today we will study this carefully to see what the newly released Enjin platform is.
Before the release of the Enjin platform, the most eye-catching action of Enjin was the development of a new token standard. On June 17, 2018, its CTO Witek Radomski submitted a new token standard in the Github library of Ethereum—ERC-1155. After a year of continuous improvement and polishing, this standard has finally evolved to its final form. On June 18, 2019, Witek issued a document stating that ERC-1155 has become the official token standard of Ethereum.
As the promoter of ERC-1155, Enjin's ambition goes far beyond this. Enjin's vision is to allow players to truly own the ownership of game assets. In Enjin's product matrix, it includes the Enjin Wallet that can view game items anytime, anywhere, the EnjinX blockchain browser that can easily access transaction data, and the Enjin SDK that is convenient for developers to upload game items to the chain, avoiding middlemen to make money. Centralized game asset trading platform, and the Enjin multiverse that allows a single game item to be reused...Of course, the realization of these functions is inseparable from the support of the ERC-1155 standard.
The item standard of ERC-1155 is the most widely used NFT standard after ERC-721. More and more relatively large-scale blockchain games have joined Enjin's multiverse gameplay and adopted ERC-1155 as their NFT standard.
Previously, Linda Xie, a celebrity in the currency circle, also posted on twitter, paying attention to the current use status of ERC-1155 and comparing it with ERC-721.
3. Enjin ERC-1155 and the gaming multiverse
The value of game props on the chain - let's look at Unity+Enjin
Let's return to the topic of this article and talk about the Enjin platform.
secondary title
Architectural ideas of the Enjin platform
In essence, Enjin hopes to help traditional game developers mint assets directly on Ethereum in a more portable way and interact with games.
Running a blockchain game requires not only a robust ecosystem, but also constant communication with the Ethereum network. Enjin specially designed a complete architecture for blockchain game developers including smart contracts, Trusted Cloud (Trusted Cloud), Platform API (GraphQL), Enjin Wallet, and Wallet Daemon to reduce the burden on developers.
If a player wants to sell a sword, how will the Enjin platform assist the blockchain game to realize the item trading function? Take a look at the picture below and it will be clear at a glance:
The whole interaction can be divided into six parts:
The player interacts with the game, telling the game to sell a sword.
The game sends a request to Enjin's Trusted Cloud, telling Enjin to remove the sword from the player's inventory.
Trusted Cloud sends a request to remove the sword to the player's Enjin Wallet App.
After receiving the request, the player can choose to accept or decline.
The trusted cloud listens to the transaction results on Ethereum and sends them back to the game. If all goes well, the player's sword will be removed and a corresponding amount of gold will be awarded.
Smart contract:
Obviously, the Trusted Cloud service (Trusted Cloud) used to handle the interaction requests between the game client and Ethereum is the core part of the entire architecture, which is equivalent to the central hub of the interaction process. The following is a detailed explanation of the role of each part in the interaction.
Smart contract:
Enjin's smart contract can handle the operations on the Ethereum chain according to the user's behavior. It is the core department that handles the blockchain part of the game. It mainly handles operations such as casting, decomposition, and transactions of props.
Key features include:
Minting blockchain assets (Tokens)
Break down blockchain assets
Custom token data and metadata
Send tokens between lands (developers and users)
Trusted Cloud:
Trusted Cloud is the main backend service of Enjin Platform. It is a service for connecting games to the Ethereum network, built on the cloud.
Trusted Cloud plays the role of a hub, which collects requests from clients, game servers, and Enjin Wallet, then interacts with Enjin's smart contracts, and finally returns data to the game. It also manages the mapping of players' game accounts (such as SteamID) to their blockchain identities (blockchain wallet addresses).
Platform API (GraphQL):
Enjin also provides APIs for developers so that they don't have to worry about interacting with Enjin smart contracts or wallets. Trusted Cloud provides better error handling and input validation than interacting directly with Enjin's smart contracts. Additionally, it pushes the status of transactions for the game.
Enjin Wallet:
The trusted cloud includes two servers of the Ethereum test network and the main network. Both ETH and Enjin Coin on the testnet have no value, and developers can conduct low-cost tests here. The transactions on the mainnet are all real money, and the project can only be launched on the mainnet after the testnet test is completed.
Wallet Daemon:
Each user has its own unique blockchain address, and all transactions on the blockchain need to be signed and authorized by the user's private key. Enjin Wallet provides a seamless signature scheme that makes it easy to execute complex commands through Enjin smart contracts.
secondary title
address:https://cloud.enjin.io/
Enjin platform experience
address:
DappReview tested the complete functions of the Enjin platform for the first time, and charged money first... The free package has nothing, and cannot create any projects. Currently, there are two payment options.
Solo Developer - $29 per month, can only build 1 project, only 1 team member, 500 API requests per day
Pro - $99 per month, up to 3 builds, 5 team members, 5000 API requests per day
Personally, I feel that this pricing is a bit tricky, and it is estimated that it will be adjusted in a short time. After paying, you need to bind the Enjin wallet in the process of creating the project, and then you will authorize some operations in the wallet.
After the preparations are complete, let's take a look at what we can do on the Enjin Platform. At present, the main things that this web version platform can do are in the Assets section on the left, and there are basically not many things in other sections. In the Asset section, users can easily customize FT or NFT based on ERC-1155, and complete one-click asset distribution .
After clicking Create Assets, you need to authorize the creation in the bound Enjin wallet. At this time, a transaction will be initiated to send the ENJ tokens pledged during minting to the Enjin contract. Not long after, the DappReviewTest asset minted just now can be viewed on the Assets page, and the assets on the chain have been created. For other users, you can already check this newly born NFT asset from the Enjin wallet and EnjinX browser.
Summarize
The above are the basic functions of the current web-side Enjin platform, mainly around the creation and management of assets. As for the interaction with assets in the game, you need to read the documentation of the Enjin SDK, use GraphQL to interact with the trusted cloud, and send the request to complete operate.
Summarize
Enjin's whole set of ideas is to use the trusted cloud as a middleware for developers to interact with smart contracts. For developers, they don't need to care about how games interact with Ethereum, and they don't need to understand how NFT asset contracts are constructed. With the Enjin platform as a bridge, developers can use APIs to complete the interaction between games and trusted clouds, and use graphical interfaces to manage and create assets. All interactions around the blockchain are handled by Enjin's trusted cloud.