Why do ERC-5169 and TokenScript need Smart Layer?

4/9/2024, 3:13:37 PM
Beginner
AltcoinsDeFi
Smart Layer redefines the token economy to some extent. Tokens are no longer just an asset, but can promote the development of economic activities by integrating rights, functions and systems.

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 a secure, programmable token frontend;

ERC-5169: Call the corresponding token frontend through the token contract;

Smart Layer Network: Work with blockchain to extend the logic and execution of tokens off-chain.

Smart Layer can be seen as a service layer that connects the blockchain world and traditional network services, and provides support and incentives, making it easy to tokenize network services or integrate smart tokens, thereby providing a better user experience and improving 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 promote the development of economic activities by integrating rights, functions and systems.

TokenScript

TokenScript is a programming interface specially designed for tokenization proposed by Smart Token Labs in 2019. 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 flexibly switched. 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 ERC-5169 (has become Final status) in May 2022. 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 “miniDapps” for individual tokens, allowing users to interact with contract functions not provided by wallets, extending hardware wallets, and even allowing users to 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 idea 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:

  • How to let users get a better experience through tokenization?
  • How can enterprises gain greater efficiency through tokenization?

This is exactly what Smart Token Labs has always wanted to achieve: fragment all services into a smart token (executable token and executable NFT). 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.

  • Web3 games:

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 in-game tasks 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.

  • Open Loyalty:

In 2023, Smart Token Labs CTO Weiwu Zhang introduced the concept of “Open Loyalty” at EDCON 2023, and worked 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 identity-based rights and interests 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.

  • AI agent:

As service providers tokenize their services, the smart token system will evolve into a modular framework. This framework can enhance the potential for service invocation, thus maximizing service value. For integrators, this translates to a more open integration market and reduced integration costs. In the future, the combination of smart token systems and artificial intelligence will allow users to have modular service ownership. Users can then authorize AI agents to freely access smart tokens from different websites, creating personalized services through combinations.

Decentralized service network Smart Layer Network

As the integration hub of the tokenized network, smart tokens encapsulate business logic, allowing tokens to carry out complex interactions 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 testnet on January 15th. The mainnet is expected to be launched 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.

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 indicates 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.

statement:

  1. This article is reproduced from [chainfeeds], the copyright belongs to the original author [LINDABELLAND ZHIXIONG PAN], if you have any objections to the reprint, please contact the Gate Learn team, and the team will handle it as soon as possible according to relevant procedures.

  2. Disclaimer: The views and opinions expressed in this article represent only the author’s personal views and do not constitute any investment advice.

  3. Other language versions of the article are translated by the Gate Learn team and are not mentioned in Gate.io, the translated article may not be reproduced, distributed or plagiarized.

Share

Crypto Calendar

Proje Güncellemeleri
Etherex, 6 Ağustos'ta REX token'ını piyasaya sürecek.
REX
22.27%
2025-08-06
Nadir Geliştirici ve Yönetim Günü Las Vegas'ta
Cardano, 6-7 Ağustos tarihleri arasında Las Vegas'ta Rare Dev & Governance Day etkinliği düzenleyecek. Etkinlik, teknik gelişim ve yönetişim konularına odaklanan atölye çalışmaları, hackathonlar ve panel tartışmaları içerecek.
ADA
-3.44%
2025-08-06
Blok Zinciri.Rio Rio de Janeiro'da
Stellar, 5-7 Ağustos tarihlerinde Rio de Janeiro'da gerçekleştirilecek Blockchain.Rio konferansına katılacak. Program, Stellar ekosisteminin temsilcilerini, Cheesecake Labs ve NearX ortakları ile birlikte içeren anahtar konuşmalar ve panel tartışmaları içerecek.
XLM
-3.18%
2025-08-06
Webinar
Circle, 7 Ağustos 2025 tarihinde, UTC 14:00'te "GENIUS Yasası Dönemi Başlıyor" başlıklı bir canlı Yönetici İçgörüleri web semineri düzenleyeceğini duyurdu. Oturum, Amerika Birleşik Devletleri'nde ödeme stablecoin'leri için ilk federal düzenleyici çerçeve olan yeni kabul edilen GENIUS Yasası'nın etkilerini inceleyecek. Circle'ın Dante Disparte ve Corey Then, yasaların dijital varlık inovasyonu, düzenleyici netlik ve ABD'nin küresel finansal altyapıdaki liderliği üzerindeki etkilerini tartışacak.
USDC
-0.03%
2025-08-06
X üzerinde AMA
Ankr, 7 Ağustos'ta UTC 16:00'da X üzerinde bir AMA düzenleyecek ve DogeOS'nin DOGE için uygulama katmanını inşa etme çalışmalarına odaklanacak.
ANKR
-3.23%
2025-08-06

Related Articles

In-depth Explanation of Yala: Building a Modular DeFi Yield Aggregator with $YU Stablecoin as a Medium
Beginner

In-depth Explanation of Yala: Building a Modular DeFi Yield Aggregator with $YU Stablecoin as a Medium

Yala inherits the security and decentralization of Bitcoin while using a modular protocol framework with the $YU stablecoin as a medium of exchange and store of value. It seamlessly connects Bitcoin with major ecosystems, allowing Bitcoin holders to earn yield from various DeFi protocols.
11/29/2024, 10:10:11 AM
Sui: How are users leveraging its speed, security, & scalability?
Intermediate

Sui: How are users leveraging its speed, security, & scalability?

Sui is a PoS L1 blockchain with a novel architecture whose object-centric model enables parallelization of transactions through verifier level scaling. In this research paper the unique features of the Sui blockchain will be introduced, the economic prospects of SUI tokens will be presented, and it will be explained how investors can learn about which dApps are driving the use of the chain through the Sui application campaign.
6/13/2024, 8:23:51 AM
What Are Altcoins?
Beginner

What Are Altcoins?

An altcoin is also known as a Bitcoin Alternative or Alternative Cryptocoin, which refers to all cryptocurrencies other than Bitcoin. Most of the cryptocurrencies in the early stage were created through forking (copying Bitcoin codes).
11/21/2022, 8:49:07 AM
What is Blum? All You Need to Know About BLUM in 2025
Intermediate

What is Blum? All You Need to Know About BLUM in 2025

Blum is a unique mini-app accessible on Telegram. Its goal is to redefine cryptocurrency trading by offering a hybrid exchange that combines access to tokens from centralized and decentralized exchanges within a single platform.
5/22/2025, 2:44:00 AM
What Is Dogecoin?
Beginner

What Is Dogecoin?

Dogecoin is a memecoin and probably the most unique one among dozens of mainstream cryptocurrencies.
12/6/2022, 6:21:38 AM
What is Stablecoin?
Beginner

What is Stablecoin?

A stablecoin is a cryptocurrency with a stable price, which is often pegged to a legal tender in the real world. Take USDT, currently the most commonly used stablecoin, for example, USDT is pegged to the US dollar, with 1 USDT = 1 USD.
12/16/2022, 9:13:56 AM
Start Now
Sign up and get a
$100
Voucher!