title | hide_table_of_contents |
---|---|
Wrap a token using the Stellar Asset Contract |
true |
The Soroban CLI can be used to wrap an existing Stellar asset into a Stellar Asset Contract token that can be used in Soroban smart contracts:
soroban lab token wrap \
--source S... \
--network testnet \
--asset ABC:G...
The same can be done for the native Lumens asset:
soroban lab token wrap \
--source S... \
--network testnet \
--asset native