Testing SORA’s HASHI bridge Substrate XCM transfers between Rococo and SORA testnet
Help us test the latest upgrade to the HASHI Substrate bridge!
Ahead of the full release of the HASHI bridge Substrate XCM upgrade, it is already possible to test sending assets to and from Rococo (Polkadot’s Parachain Testnet) and the SORA testnet (a standalone Substrate test network), utilizing the SORA Rococo parachain and Substrate XCM.
Here is a quick tutorial on how you can help test this feature:
You will need a Substrate account on Dotapps.io that allows use on any chain. You can get Rococo testnet tokens from the faucet provided by Parity. To claim these tokens, input your Substrate address and then verify you’re a human and click the “Get some $ROC” button. Make sure you’ve updated your extension in Settings.
With $ROC tokens on your account, navigate to dotapps.io and switch the network to the Rococo relay chain.
Next, navigate to Developer > Extrinsics. Here you will need to select the account that has $ROC tokens from the faucet.
- The extrinsic to submit is
xcmPallet
thenreserveTransferAssets(dest,beneficiary,assets,feeAssetitem)
- The
dest:
isV3
- The
interior:XCMV3Junctions
isX1
- The
Parachain
is2011
- Then in the next section, the
Beneficiary:XCMVersionedMultiLocation
isV3
- Under
V3:XCMMultilocation
theinterior:XCMV3Junctions
isX1
- The
X1:XCMV3Junction
isAccountid32
and in theid:[u8:32]
section, input your SORA test network account address (to transfer tokens to)
So far, you now have the sender and the receiver for the transfer, now let’s input the asset.
- In assets:
XcmVersionedMultiAssets
selectV3
, then click Add Item - In the field
Fungible:Compact<128>
add the number of tokens to be transferred. You have to add twelve zeroes after the amount. In this case, we are sending 50, so the input is5000000000000
With all the fields filled in, this is how it should look like:
- Finally, submit the transaction and sign on the pop-up using your password
After the transaction is successful (when the ✅ appears on the upper-right corner), you will notice the $ROC balance is reduced. Let’s double-check in Polkaswap (testnet):
- Open test.polkaswap.io and navigate to the Bridge section. Choose the Rococo network and connect the account that you just used to test
- Select the ROC token from the list. If the transfer was successful, it will look like this:
If you have any questions while testing, please contact an admin or ambassador.
We are working to get the UI for the HASHI Substrate bridge, utilizing XCM, on Polkaswap, ready for testing as well. Please stay fearless for an update soon!
Update: The Rococo testnet token has been whitelisted on test.polkaswap.io, so you can simply add the asset to your account there to verify the transaction was successful.
About SORA
SORA is a movement that advances humanity by empowering people with decentralized technology, DeFi, and with a new economic system geared towards enabling human progress. The SORA network implements a new way of parachain architecture on Polkadot and Kusama network, with the capability to bridge external blockchains (like Ethereum) to the Polkadot ecosystem.
Connect With Us:
SORA 𒀭 community:
Twitter | Telegram | Reddit | YouTube | Announcements Channel
Polkaswap 𒊹𒂵𒆜 community:
Twitter | Telegram | Reddit | YouTube | Announcements Channel
Fearless Wallet 𒉡𒉎𒋼 community:
Twitter | Telegram | Element | YouTube | Android App | iOS App