The address element declares an Address, usually that of a smart contract on Ethereum.

The address tag should define the network if this has not been done elsewhere. 1 is Ethereum mainnet, 3 is Ropsten testnet. Put the address inside the address tags.

Code Examples

Declare the Address of the token's smart contract

<ts:contract name="DAI" interface="erc20">
        <ts:address network="1">0x6b175474e89094c44da98b954eedeac495271d0f</ts:address>

Declare a fixed address to trigger a smart contract

    <ethereum:transaction function="transfer" contract="DAI">
                   <ts:uint256 ref="amount"/>

Related information

TokenScript File

We make tokens smart

Smart Token Labs is the creator of TokenScript and AlphaWallet two open source solutions for a tokenized future.