Code Monkey home page Code Monkey logo

Comments (18)

TorstenStueber avatar TorstenStueber commented on August 10, 2024 1

@RustNinja can you provide some details about a DMP or UMP transaction would look like?

from portal.

RustNinja avatar RustNinja commented on August 10, 2024

So we need

  • parachain Id (2124)
  • Destination AccountId32 (0x8ceb888726d6c86b6152da55745648846301c3a20c82d9a4714ad707bceb2925)
  • Amount (1,000,000,000,000)

@TorstenStueber

relay-chain extrinsic encoded call data
0x630201000100312101000101008ceb888726d6c86b6152da55745648846301c3a20c82d9a4714ad707bceb2925010400000000070010a5d4e800000000
DE8A0497-501F-4E93-9473-842221E1B245

fococo or amplitude encoded call data
0x360001000010a5d4e8000000000000000000000001010101008ceb888726d6c86b6152da55745648846301c3a20c82d9a4714ad707bceb292500286bee00000000

2BEEC57E-21CD-47C7-8157-FCA214F13E65

from portal.

prayagd avatar prayagd commented on August 10, 2024

@TorstenStueber @RustNinja Can you help with the technical considerations.

  1. How to fetch the token tickers for the token dropdown?
  2. How to fetch the network names for the source and destination dropdown?
  3. What extrinsics to call when the user clicks transfer?
    Also please add any additional tech details if i have missed anything.

from portal.

RustNinja avatar RustNinja commented on August 10, 2024
  1. currencyId enum
    44577EBA-E847-4AD4-8FAF-3A7286E37E26
  2. look at the prev my message:
    #29 (comment)
  • xcmPallet - reserveTransferAssets on relay chain (to transfer DOT/KSM/ROC from relay chain to pendulum/amplitude)
  • xtokens - transfer on pendulum/amplitude chain (to move token back from our chain to relay-chain)

Simple transfer (not cross-chain) -
pallet tokens -> extrinsic transfer (to transfer any token from to destination account on the same chain )
@prayagd

zenlink ui with amm provide an interface to transfer any token from any chain to any chain
https://dex.zenlink.pro/
285429B4-07E4-4050-9F6B-CB2784EBE1C5
@prayagd fyi

from portal.

gonzamontiel avatar gonzamontiel commented on August 10, 2024

is this still a WIP ? What do we need to move forward ? cc @prayagd

from portal.

prayagd avatar prayagd commented on August 10, 2024

@gonzamontiel This is ready, Let me know if anything is missing or unclear.

from portal.

prayagd avatar prayagd commented on August 10, 2024

Please add your planning poker estimate with Zenhub @gonzamontiel

from portal.

gonzamontiel avatar gonzamontiel commented on August 10, 2024

Since it is the first time we implement this, I was a bit conservative with the estimation. Ready.

from portal.

prayagd avatar prayagd commented on August 10, 2024

@gonzamontiel Would you suggest i break down this ticket? As we already discussed having smaller tickets.

from portal.

gonzamontiel avatar gonzamontiel commented on August 10, 2024

Hmm in this case I think there's no need for that

from portal.

prayagd avatar prayagd commented on August 10, 2024

Blocked by HRMP channel between Assethub and foucoco.

from portal.

vadaynujra avatar vadaynujra commented on August 10, 2024

@prayagd why is this blocked by the HRMP between Foucoco and Asset Hub?

from portal.

prayagd avatar prayagd commented on August 10, 2024

@vadaynujra to test this feature there is channel needed between the foucoco and asset hub.

from portal.

prayagd avatar prayagd commented on August 10, 2024

@ebma can we use the testnet channel between Moonbeam and Pendulum to test this? or would this specifically need a testnet channel between foucoco and asset hub?

from portal.

ebma avatar ebma commented on August 10, 2024

Since this is explicitly about the transfer of the relay chain token at least according to the first line in the description we don't need to involve AssetHub. Transferring ROC (Rococo's native token, ie. the relay chain token of Foucoco) to Foucoco and back should work. Which AFAIU is enough for this ticket? If you also want to test transfers of other tokens, this wouldn't be possible as is on Foucoco.

from portal.

prayagd avatar prayagd commented on August 10, 2024

We also want to support the assethub's but i can reduce the scope of this ticket to rollout this feature just for the the relay chain to and fro transfers

from portal.

ebma avatar ebma commented on August 10, 2024

For supporting AssetHub tokens we'd need to add some changes to the Foucoco runtime because IIRC they are not supported yet. If this is required for testing this ticket (or a follow-up ticket assuming you reduce the scope of this one), please create a new ticket on the Pendulum repository and list down which AssetHub assets you'd like to have available on Foucoco.

from portal.

prayagd avatar prayagd commented on August 10, 2024

Reduce the scope to only Relay chains based on the above comments, will create a follow up ticket for other channels.

from portal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.