View this article originally posted on alphawallet.com

AlphaWallet V2 comes with basic TokenScript support, a new framework that brings your favourite tokens to life!

What is TokenScript?

TokenScript is a simple framework that enables you to securely write token functionality that works cross-platform (iOS, Android and web) and can integrate with other services.

Why use TokenScript?

TokenScript allows you to richly define your tokens so that transactions have context, are signed by the issuer and can work seamlessly on mobile and the web without the need to write your own wallet. This saves time/effort, enhances security and enables a much better user experience.

Tokens written in TokenScript have standardised attributes that can seamlessly plug into other applications which use the token. An example of this includes being able to see your ethereum balance and loyalty reward tokens when you go to make a purchase rather than having to cross-reference them in the unintegrated web2 world.

TokenScript can also add other off-chain functionality to your token, like enabling you to do a challenge-response with a proof of token ownership to open your door.

Enter Fake Satoshi’s house by proving ownership of an entry token with TokenScript

Seamlessly convert DAI to xDAI and vice versa

Write a TokenScript for your own Token

If you would like to write a TokenScript for your own token and enjoy native mobile wallet support & web integration, you can easily get started from TokenScript Github Repo and follow its TokenScript Tutorial.

Download

iOS and Android

Other Improvements

Other notable improvements include greater auto-detection for Tokens and Transactions in iOS and a dapp browser fix which allows dapps that have privacy mode to work on AlphaWallet.

Coming Soon

We will soon be releasing TokenScripts for your favourite Tokens like the MakerDAO CDP and Compound.

Learn More about AlphaWallet