First check this old answer in StackExchange to see the difference between Asset Teleportation and via Reserve Asset Transfers.
You will be able to teleport between parachains, as long as they have
a trusted relationship.
If we take a look at Kusama runtime in the config of xcm_executor we see this line.
type IsTeleporter = TrustedTeleporters;
Where it specifices the parachains that have a trusted relationship (Statemine and Encointer):
parameter_types! {
pub const Ksm: MultiAssetFilter = Wild(AllOf { fun: WildFungible, id: Concrete(TokenLocation::get()) });
pub const Statemine: MultiLocation = Parachain(1000).into_location();
pub const Encointer: MultiLocation = Parachain(1001).into_location();
pub const KsmForStatemine: (MultiAssetFilter, MultiLocation) = (Ksm::get(), Statemine::get());
pub const KsmForEncointer: (MultiAssetFilter, MultiLocation) = (Ksm::get(), Encointer::get());
pub const MaxAssetsIntoHolding: u32 = 64;
}
pub type TrustedTeleporters =
(xcm_builder::Case<KsmForStatemine>, xcm_builder::Case<KsmForEncointer>);
About the channels currently you need them. Check this old response in StackExchange.
All messages currently go through the Relay Chain using XCMP-lite (aka HRMP). Once XCMP is fully implemented, channels will indeed be directly between parachains, and they would use teleportation or reserve backed transfer depending on their trust relationship.
To teleport the asset, I recommend you to first check the tutorial Transfer assets with XCM to know how to set up the environment, is using Zombinet to set up a local test network to simulate a relay chain with validators and parachain collator nodes.
When you have it all running you have to execute the extrinsic limitedTeleportAsset
from the pallet xcmPallet
.
In this extrinsic you have to specify the destination parachain, the beneficiary account (Account ID of the account you are teleporting the asset), the asset that is going to be teleported, the feeAssetItem and the weightLimit for the XCM fee purchase.
For a more detail guide check this workshop on Youtube Parity Technologies: XCM Workshop | Polkadot Decoded 2022 where it performs an asset teleportation and a reserve assettTransfer.