Poltergeist Phantasma — Ethereum swap tutorial

Jay
Jay
Sep 30 · 6 min read
Image for post
Image for post

Phantasma — Ethereum asset swapping

Phantasma recently integrated Ethereum into its ecosystem along with Neo and our own mainnet through providing interoperability between our two blockchains. This allows assets (Initially Ethereum, SOUL and KCAL) to flow between Phantasma and Ethereum the same way they have been doing since October 2019 between Phantasma and Neo. In the following article we will show step by step how to proceed with your first swaps between Ethereum and Phantasma.

This guide assumes that you have downloaded and created a wallet in Poltergeist, which gives you access to both an Ethereum, a Phantasma and a NEO wallet all using a single private key. If you have not done so, you can find both the latest version (v1.9) and guides here. Mind that existing Phantasma wallets will have an Ethereum address automatically created upon first launch of Poltergeist v1.9.

Before we start — warning: reduced speed ahead

If you receive a message saying your swap has failed when claiming tokens in your Ethereum wallet, this is usually because the transaction has been broadcast, but not mined on Ethereum yet. If this happens, give it some time (15–20 minutes) and then try again — remember that transactions on the Ethereum blockchain take longer than you will have become used to while using the Phantasma mainnet.

Image for post
Ethereum takes its sweet time — have some hot cocoa and come back later

Getting your Poltergeist Ethereum wallet ready

There are three basic ways to do this:

Once you have done this, you are ready to start swapping!

Swapping Eth to your Phantasma mainnet wallet

This is necessary to pay the Ethereum side gas fees when swapping SOUL or KCAL to Ethereum.

Important note: Swapping to and from Ethereum is contingent on the speed of the Ethereum blockchain — you may face delays if it is congested, and it will be far slower than you are used to on the Phantasma blockchain.

Image for post
Image for post

2. You can now see the Ethereum wallet balance. Click “Send” next to your ETH balance

Image for post
Image for post

3. Click the corresponding Phantasma mainnet wallet, marked [Pha] in the dropdown menu, and click “Confirm”

Image for post
Image for post

4. Choose your preferred ETH gas fee for the transfer in the dropdown menu and click “Confirm”

Image for post
Image for post

5. Input the amount of ETH you would like to swap and click “Confirm” (at least 0.1 ETH recommended, preferably more considering the highly variable gas fees on Ethereum)

Image for post
Image for post

6. Review transaction details and click “Send”

Image for post
Image for post

7. Click “View” to monitor the transaction on the Ethereum block explorer, or “Ok” to close the window. You can find your transaction under history tab later if needed

Image for post
Image for post

8. Switch to “Phantasma” view in the top left

Image for post
Image for post

9. You can now see the Phantasma mainnet wallet balance. Click “Claim” next to your ETH balance. If there is no claimable balance displayed yet, that means the Ethereum side transaction is taking longer to confirm. You can monitor this by going to your history tab and viewing the latest transactions

Image for post
Image for post

10. Click “Yes” to release your ETH to your Phantasma mainnet wallet

Image for post
Image for post

11. Your ETH has now arrived in your Phantasma mainnet wallet

Image for post
Image for post

Swapping SOUL/KCAL to your Ethereum wallet

Image for post
Image for post

2. Click the corresponding Ethereum wallet, marked [Eth] in the dropdown menu, and click “Confirm”

Image for post
Image for post

3. Input the amount you wish to swap or choose “Max” from the dropdown menu to swap the full balance, then click “Confirm”

Image for post
Image for post

4. Review transaction details, then click “Send” (note that the ETH gas fee is not displayed)

Image for post
Image for post

5. Click “View” to view the transaction on the Phantasma block explorer, or “Ok” to close the window. You can find your transaction under history tab later if needed

Image for post
Image for post

6. Switch to “Ethereum” view in the top left

Image for post
Image for post

7. You can now see the Ethereum wallet balance. Click “Claim” next to your SOUL/KCAL balance.

Image for post
Image for post

8. Click “Yes” to release your SOUL/KCAL to your Ethereum wallet

Image for post
Image for post

9. Your SOUL/KCAL has now arrived in your Phantasma mainnet wallet. Mind that this is dependant on the transaction being confirmed on the Ethereum blockchain and may take some time.

Image for post
Image for post

Note: If you receive a message saying your swap has failed when claiming tokens in your Ethereum wallet, this is usually because the transaction has been broadcast, but not mined on Ethereum yet. If this happens, give it some time (15–20 minutes) and then try again — remember that transactions on the Ethereum blockchain take longer than you will have become used to while using the Phantasma mainnet

Image for post
Ethereum takes its sweet time — have some hot cocoa and come back later

With time additional assets will be swappable between Ethereum and Phantasma, such as various ERC20 tokens that can be used on Phantasma, Ethereum based and Phantasma based NFTs and other assets.

Get the full story

This article is part of a larger series covering the massive upgrades being implemented across the Phantasma blockchain and ecosystem. To get up to date with everything that has happened, please enjoy the following articles:

Happy swapping!

The Phantasma Team

Image for post
Image for post

PhantasticPhantasma

Blockchain for Next Generation Content Distribution

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store