Skip to content

Commit 9494fe9

Browse files
authored
Simplify introduction to TokenScript
1 parent e109499 commit 9494fe9

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
# TokenScript
22

3-
A TokenScript builds the front end of a token while smart contracts are the backend of a token.
3+
TokenScript builds the front end logic of a token dapp with the smart contract on the backend.
44

5-
A TokenScript file contains a token's business logic, token UI rendering and program interface, signed by the token's modeller.
5+
A TokenScript file contains a token's business logic, token UI rendering and program interface, signed by the token's modeller to prevent tampering and phising.
66

7-
## Isn't dapp the front end of a token?
7+
## Isn't a website serving a smart contract the front end of a token?
88

9-
Today, each token has a "home" dapp, let's call it "hosting" dapp.
9+
Nowadays, most token dapps have a website which serves all the content relevant to the underlying smart contract.
1010

11-
If everything user has to do with that token is done on that hosting dapp, then the hosting dapp is all needed for a token front. However, one might wonder why such 2-party game (use r<-> hosting dapp) needs to use smart contract tokens at all.
11+
If everything the user wanted to do with that dapp is done via the hosting website, then this is sufficient to serve the users of the dapp. However, one might want to use a dapp which can talk to another such as a 2 party game which holds other items such as a sword on the other.
1212

13-
Tokenscript is similiar to taking the "hosting" app and make it portable. In the Tokenscript framework, Dapps provide services using or related to the token. Such distinction and separation between Tokenscript and Dapp is important for the two primary functions of blockchain: *building a frictionless market* and *integrate the web*. More about that in the design paper.
13+
TokenScript enables the host dapp to become portable and usable across multiple dapps. In this frameworkd, a dapp can provide services and context related to the token (e.g. you have one sword in the WoW dapp and an assault rifle in call of duty). This distinction enables the dapp to integrate with another and create a frictionless experience for the user. More about that in the design paper.
1414

1515
## How is it created and used?
1616

1717
A TokenScript is created by the token's modeler, typically the team which builds the underlying smart contracts dictating the token's transaction rules.
1818

19-
When userd by a user (through user-agent, e.g. a Dapp browser) Tokenscript visually render the token and provide trustworthy assembling of transactions related to the token.
19+
When used by a user (through user-agent, e.g. a Dapp browser) Tokenscript visually renders the token and provides trustworthy assembling of transactions related to the token.
2020

21-
When used by a dapp developer, Tokenscript allows a Dapp to interact with its interface instead of directly accessing smart contracts, so that the Dapp can be upgraded independently of all the tokens it supports.
21+
When used by a dapp developer, TokenScript allows a Dapp to interact with its interface instead of directly accessing smart contracts, so that the Dapp can be upgraded independently of all the tokens it supports.
2222

23-
When used by a market or any other token related services (e.g. auction, collateralisation), it allows token to be correctly rendered and signed for use with these services.
23+
When used by a market or any other token related service (e.g. an auction or collateralisation), it allows the token to be correctly rendered and signed for use with these services.
2424

2525
## What's in a TokenScript file?
2626

2727
TokenScript is an XML dialect. It describes the functions provided by the token (through smart contract or not), the method to render it on the user's interface, the ERCs token behaviour templates it uses and the javascript needed to construct transactions and render the token. It also defines how attestations are used to decorate, or convert to, or validate a transaction.
2828

2929
## TokenScript Project introduction:
3030

31-
TokenScript Project is to develop and help with adoption of TokenScript, the standard markup language for creating and using cryptographic tokens(e.g. blockchain tokens) and DApps.
31+
The TokenScript project is an initiative to help spread adoption of TokenScript.
3232

3333
The remarkable blockchain speculations that took place in 2017 - 2018 brought everyone's attention to crypto tokens. As we bought and sold them, we forgot their intended purpose was to be used; this is analogous to the housing bubble in which people forgot that houses were not merely speculative assets but rather a place to live. To provide a practical use of the blockchain, we must understand its utility to the world economy and the internet. The people behind this project are technical experts who went through years of study and experimentation into its applications both via financial institutions and startups. With this experience, we recognise the blockchain technology's utility in providing a frictionless market and integrating the web.
3434

0 commit comments

Comments
 (0)