futureversecom / trn-seed

Implementation of The Root Network node in Rust, based on the Substrate framework.
https://www.therootnetwork.com
Apache License 2.0
17 stars 5 forks source link

Support non XRPL tokens to bridge from/to TRN<->XRPL #872

Closed KarishmaBothara closed 2 months ago

KarishmaBothara commented 3 months ago

PR checklist

Support non XRPL tokens to bridge from/to TRN->XRPL ROOT on xrpl chain is https://xrpl.to/token/65aae5e2119350f927cdc19ef8a9df84?fromSearch=1 with currency - 524F4F5400000000000000000000000000000000

Screenshot 2024-08-21 at 11 11 36 AM Screenshot 2024-08-21 at 11 11 46 AM Screenshot 2024-08-21 at 11 11 57 AM Screenshot 2024-08-21 at 11 15 02 AM
KarishmaBothara commented 3 months ago

Looking good so far! Nice work, will Withdraw support going to be part of this PR as well?

Going to be another PR

KarishmaBothara commented 3 months ago

As discussed, I have updated the currency type from BoundedVec<u8, XRPSymbolLimit> to H160 and have tested it.. Also, made corresponding changes on relayer side https://github.com/futureversecom/trn-crosschain-services/pull/361/files#diff-7d4489006673216d26450a2a0ff155bf71280d9ea3ebbd5eedadb0b1b4d903c7R150

KarishmaBothara commented 3 months ago

Updated to have a different case for ROOT.. where tokens are transferred over minting

Screenshot 2024-08-27 at 8 02 02 AM