Usage
Use tl-deploy --help
to find out about the relevant commands:
To get help about a specific command use tl-deploy COMMAND --help
.
#
Deploy a Currency NetworkA currency network contract handles all trustlines with the same denomination. It allows for transfers between the users of this network.
You can deploy a currency network with the name Testcoin
and symbol TST
by using the command
To find out more about the possible options, use
The mandatory arguments are the NAME
and the SYMBOL
of the network.
All other parameters are optional as they have either default values or are not needed in some cases.
#
Deploy an ExchangeAn exchange allows users of different currency networks to exchange 1. trustlines currencies, 2. trustlines currency for ERC 20 tokens and 3. trustlines currency for wrapped Ether. This exchange is an extension to the 0x protocol, adding support for Trustlines currencies.
You can deploy an exchange with
To get further information, use
The address of this exchange can be used as input for the --exchange-contract
option when creating a currency network.
#
Deploy Identity ContractsWe use identity proxy contracts to enable the use of meta-transactions. Through that, new users can directly interact with the deployed currency network contracts without the need of coins to pay for transaction fees. Therefore two contracts need to be deployed.
- Implementation of the identity contract
- Identity proxy factory contract
#
Identity ImplementationThis contract is the implementation of an identity contract. We need to deploy it to set the implementation of deployed identity proxies.
Run
To get further information, run
#
Proxy FactoryThe proxy factory contract is used to create identity proxies, where the implementation need to be set.
Run
Same as above you can get further information on the usage by running