📄️ Interoperability Basics
Stellar makes it easy to issue assets and to connect them to existing banking rails so that users can move value onto — and off of — the network. The services that create those connections are called anchors, and you can read all about how they work and what they do in Enable Deposit and Withdrawal.
📄️ Setup for Anchored Assets
So how do we make use of SEP-0024 to allow deposits and withdrawals of anchored assets? First let’s boot up our project:
📄️ Deposit Anchored Assets
This section of the tutorial takes the basic wallet with trustlines and anchor connections enabled and adds the ability to initiate in-app deposits with an Anchor. If you have all that ready, and the stellar.toml file is loaded into a @Prop on your component, you’re ready to begin the initial deposit of their asset into our wallet.
📄️ Withdraw Anchored Assets
At this point, you should have a basic wallet that can handle custom assets, and you should have enabled deposits and used the SDF-maintained testnet Anchor Reference Implementation to get some test tokens into your wallet. After you’ve had some fun with your new asset, it's time to learn to perform this process in reverse, and that's what we'll do here: set your wallet up to handle withdrawals.