> For the complete documentation index, see [llms.txt](https://quanta.gitbook.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://quanta.gitbook.io/documentation/testnet/transfer-eth-erc-20.md).

# Transfer ETH/ERC-20

### Create your Cross-chain Address

This is a smart forwarding contract which acts as your own personal address associated with the QUANTA blockchain.  Its job is to forward token into the trust wallet,  managed by the cross-chain technology.

![](https://3282115274-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LR5UzIByyCOIOHd5CFf%2F-LRJVMUD7vMeUYg_VqVE%2F-LRJVwvLNse1NL4tH3S5%2Fimage.png?alt=media\&token=e166d0c9-22af-47b9-bd1e-ccbdf8f9013e)

<div align="left"><img src="https://3282115274-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LR5UzIByyCOIOHd5CFf%2F-LRJVMUD7vMeUYg_VqVE%2F-LRJWAmnX33jspp-yPf0%2Fimage.png?alt=media&amp;token=cde52e09-6f0c-43c4-a172-9e1f068af67d" alt="Sign the smart contract TX"></div>

Within 15-30 seconds, you will see the cross-chain address picked up for your QUANTA address:

<div align="left"><img src="https://3282115274-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LR5UzIByyCOIOHd5CFf%2F-LRJVMUD7vMeUYg_VqVE%2F-LRJWLxDp8NdTovfs8eL%2Fimage.png?alt=media&amp;token=f60b8fc6-0e9e-4a59-afbe-54e2b3b80a81" alt=""></div>

### Transfer Funds

<div align="left"><img src="https://3282115274-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LR5UzIByyCOIOHd5CFf%2F-LRJVMUD7vMeUYg_VqVE%2F-LRJWadiut2FYhlrD9z0%2Fimage.png?alt=media&amp;token=1b1b0914-a942-49ff-b59b-6b0d0d1995e3" alt=""></div>

### Withdrawing Funds

To withdrawal, we need to encode the outgoing ethereum address.&#x20;

You will need to convert hex to base64.   Use a tool like this: <http://tomeko.net/online_tools/hex_to_base64.php>&#x20;

In our example, 0xe0006458963c3773B051E767C5C63FEe24Cd7Ff9 converts to 4ABkWJY8N3OwUednxcY/7iTNf/k=

This will be used as the memotext to let the QUANTA blockchain know where to transfer your funds.

```
> quanta-cli pay 0.01 ETH --from a1 --to QCISRUJ73RQBHB3C4LA6X537LPGSFZF3YUZ6MOPUOUJR5A63I5TLJML4 --memotext "4ABkWJY8N3OwUednxcY/7iTNf/k=" -v
```
