Skip to content

Commit

Permalink
Merge pull request #147 from dappforce/fix/dot-trf
Browse files Browse the repository at this point in the history
Add custom transfer for polkadot
  • Loading branch information
olehmell authored Feb 20, 2024
2 parents 882c920 + b8a24d3 commit 5360723
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/transfer/configs/same-chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ const customSameChainTransferConfig: {
return [ data.recipient, data.amount ]
},
},
[getCustomTransferParamId('DOT', 'polkadot')]: {
extrinsic: 'balances.transferAllowDeath',
getParams: (data) => {
return [ data.recipient, data.amount ]
},
},
[getCustomTransferParamId('MGX', 'mangata')]: {
extrinsic: 'tokens.transfer',
getParams: (data) => {
Expand Down

0 comments on commit 5360723

Please sign in to comment.