Author: LINDABELL, ZHIXIONG PAN Source: chainfeeds
When the AlphaWallet team proposed the TokenScript concept in 2019, it significantly expanded the industry's understanding of "tokens". Whether it is ERC-20 or ERC-721, by adding the extension capabilities of TokenScript, it is easier to execute preset functions. After the ERC-5169 standard was proposed, its programming and execution capabilities were improved. Their next milestone, Smart Layer Network, is another upgrade based on these foundations, further extending the boundaries beyond the blockchain.
Or it can be understood this way:
TokenScript: Provides secure, programmable tokens Coin front-end;
ERC-5169: Call the corresponding token front-end through the token contract;
Smart Layer Network: Cooperate with the blockchain to extend off-chain logic and execution for tokens.
Smart Layer can be seen as a service layer that connects the blockchain world and traditional network services, and provides support and incentives, allowing network services to be tokenized or Integrating smart tokens becomes easy, providing a better user experience and increasing business efficiency. For token issuers, Smart Layer provides support for creating and managing programmable smart tokens. For traditional web services, Smart Layer simplifies the process of integrating web services and token functionality.
Smart Layer redefines the token economy to some extent. Tokens are no longer just an asset, but can integrate rights, functions and system to promote the development of economic activities.
TokenScript
TokenScript was proposed by Smart Token Labs in 2019 specifically for tokenization Designed programming interface. This interface not only helps users access all functions of the token, but also allows the creation of more advanced, complex and flexible "user token" interactions.
Simply put, TokenScript is a JavaScript code layer with XML tags that describes token-related attributes, logic, operations, user interface and other elements. TokenScript files are issued and signed by the corresponding token issuer and can be imported by any service or device integrated with the TokenScript engine. And token issuers can add any information and rules to the tokens without being restricted by smart contracts. The main focus of Tokenscript is to allow tokens to run seamlessly between different platforms and wallets while integrating all information about the token to facilitate users to manage and understand their assets. Currently, the AlphaWallet wallet supports all tokens implemented with the TokenScript standard.
We can imagine TokenScript as a computer program for processing music files. The music files are similar to tokens and are unchanged, but the playback software can be switched flexibly. The program also updates automatically to record, cut, and organize audio into your favorite song library. TokenScript also ensures that the interaction between tokens and software is not arbitrary and is structured by the token issuer.
ERC-5169
TokenScript improves the scalability of tokens. But in order to allow tokens to interact with various services and applications in the Web3 ecosystem, Smart Token Labs proposed the Ethereum standard in May 2022 ERC-5169 (has become Final status). This standard introduces the concept of executable scripts, allowing tokens to carry their own logic and behavior and have stronger interactive capabilities. TokenScripts can be embedded into tokens according to the ERC-5169 standard, allowing tokens to exhibit dynamic behavior when interacting with various services and platforms.
In terms of specific implementation, ERC-5169 allows users to ensure that they are using the correct script by providing a URI pointing to the official script when calling the token contract (scriptURI) . The URI can be any URI that conforms to the RFC-3986 standard, such as a link to an IPFS multihash, a GitHub gist, or a cloud storage service. Each contract that implements this ERC contains a scriptURI() function that returns the download URI of the client script that provides the client executable for the escrow token. Additionally, to address the key risk, operational and storage fees associated with storing client scripts directly on smart contracts, ERC-5169 allows volatile data to be stored off-chain.
ERC-5169 provides many possibilities for interactive tokens that can connect Web2 and Web3, including customizing "miniDapp" for a single token, allowing users to interact with Interact with contract functions that the wallet does not provide, expand the hardware wallet, and even control IoT devices through the tokens in the wallet. From an asset perspective, this standard significantly improves the user experience, allowing users to run programs directly within the wallet and avoid the hassle of frequently creating account numbers and passwords. In addition, since the logic is embedded in the token itself, the need for external interfaces is reduced and the security and privacy of token interactions are increased.
Tokenscript + ERC-5169 =?
Hashed partner Baek Kim has said that Hashed’s investment philosophy starts from the fact that all assets will eventually be tokenized. In fact, we have experienced two waves of tokenization so far, but they have yet to trigger mass adoption. In order to achieve large-scale application of tokenization, we must solve two core problems:
This is exactly what Smart Token Labs has always wanted to achieve: fragment all services into a smart token (Executable tokens and executable NFTs), users have all the right to call and use these smart tokens, and can access various third-party services through them. For example, we can issue a "Car Smart Token" to represent the ownership of the car. When users access third-party services, such as insurance companies, through this smart token, they do not need to fill in any information. Through smart tokens, insurance companies can directly recommend suitable insurance products to users. In addition, insurance can also be turned into a token corresponding to a “Car Smart Token”.
The realization of this vision benefits from Smart Token Labs’ integrated application of ERC-5169 and TokenScript. In accordance with the ERC-5169 standard, TokenScript defines scripts that can be embedded into tokens and allow these tokens to interact with various services and platforms in a dynamic manner. By transforming tokens from simple asset attributes into functional tokens, smart tokens not only improve asset scalability but also bring new development paths to areas such as Web3 games and loyalty programs.
Smart tokens can be used as in-game props to connect users and project parties. Users can call various functions encapsulated in tokens within the project party's digital services, such as completing specific tasks in the game and Cross-game achievements.
Smart Cats is a fully on-chain derivative collection of Cool Cat #2426 launched by Smart Layer on Polygon, and is also a smart token. The NFT can run directly in the wallet like an app, and users can click directly on Smart Cats to perform various interactions without jumping to a third-party website, including feeding, cleaning, inviting other Smart Cats to play, etc.
In 2023, Smart Token Labs CTO Weiwu Zhang introduced the concept of "Open Loyalty" at EDCON 2023, and collaborated with the EDCON 2023 team to launch the "Open Loyalty" permissionless solution Permissionless Perks. Attendees will receive proof of ticket ownership via email and can store it locally in their browser, verify the ticket to any third party and claim a number of exclusive benefits.
Through Smart Layer, users do not need to open a wallet or consume Gas. They can obtain rights and interests based on a specific identity by verifying off-chain smart tokens through the URL. The ticket information that should belong to the EDCON ticketing system is now held by the user, eliminating the need for the EDCON ticketing system to integrate with a third party.
As all service providers tokenize their services, the smart token system will gradually be built into a modular framework. This framework can maximize the possibility of service invocation, thereby maximizing service value. For integrators, it also means a more open integration market and lower integration costs. In the future, with the combination of smart token systems and artificial intelligence, when modular service ownership exists in the hands of users, users can authorize AI agents to freely call smart tokens from different websites and achieve personalized customized services through combination.
Decentralized service network Smart Layer Network
Smart tokens as tokenized networks The integration hub encapsulates business logic and enables tokens to interact complexly with various systems and tokens in an interoperable mode. But blockchain can only provide trust guarantees and cannot allow smart tokens to be used directly on any website. We still need to scale with integrations. To this end, Smart Token Labs has launched Smart Layer, a programmable blockchain-based service network that brings smart tokens into gaming and loyalty via ERC-5169 and Tokenscript.
The goal of Smart Layer is to facilitate the deployment and operation of smart tokens and TokenScript. From a website perspective, Smart Layer is similar to a RESTful API provider, allowing smart tokens to interact with websites, IoT, smart contracts, and more. For token issuers, Smart Layer provides support for creating and managing programmable smart tokens. For traditional web services, Smart Layer simplifies the process of integrating web services and token functionality. This architecture can help improve the usability and interoperability of smart tokens, making them easier to apply in different scenarios.
Smart Layer mainly implements its functions through three key components:
Blockchain: Execute token transaction rules through smart contracts and maintain snapshots of token operations for future verification.
Anchor node: run by an organization selected by the DAO and responsible for maintaining the stability, security and service goals of the network.
Service node: distributes service work through a distributed hash table and provides TokenAPIs for integration. Service nodes are incentivized by Smart Layer Tokens, and payments are made by users or websites that require token integration and are attached to API calls as incremental commitments. Smart contracts handle payments and can burn a certain percentage of Smart Layer Tokens.
Smart Layer Tokens in this network incentivize nodes to provide resources for the network. Both types of nodes are rewarded with Smart Layer Tokens by participating in network activities and are proportional to the amount of resources they contribute. This incentive mechanism ensures continuous growth and sustainable development of the network.
Smart Layer has been launched on the test network on January 15 and is expected to be launched on the main network in 2025. Although launched less than half a year ago, Smart Layer has already shown its development potential. Its xNFT game Smart Cats attracted more than 300,000 independent active wallets in just 60 days of launch, becoming one of the most popular games in the Polygon ecosystem. The public beta version of Smart Layer Launchpad launched earlier this year received more than 1,000 applications from developers in just 10 days.
Is the airdrop coming soon?
As the market recovers, "airdrops" have become popular again. Smart Layer is also planning to conduct airdrops in the near future. Specific information will be announced in stages in the next few weeks. According to available information, Smart Layer is powered by two different tokens, the governance token SLN and the service unit token SU. Among them, governance tokens are the main tokens, and holders can vote on protocol decisions and receive direct income and token rewards from operating nodes. This suggests that the value of the SLN token is directly related to Smart Layer network size and adoption. According to current data from the Smart Layer testnet, less than 10 days after its launch, it has supported more than 3 million executable NFTs and generated more than 9.2 million transactions. No matter how they plan their airdrops, they can start by experiencing Smart Cats or subsequent products.