Simply put, I’ve got account ids in an excel sheet, and I’m supposed to use the ledger function to transfer to them. Now, in the old standard, we had send_dfx to transfer to an account-id.
Now that I’m using the updated ledger, how will I be able to transfer to an account-id.
Any sort of help will be appreciated, also I can’t use the old ledger because, I’ll be needing icrc2 supported functions for the project.
Are you trying to transfer tokens of an ICRC1 token or ICP?
Custom token, ICRC1 yes
Actually I did come up with a solution, can you just tell me if it won’t lead to any issues?
I was using the icrc1 ledger for my custom token, now I’ve shifted to the icp ledger wasm and .did but, changing the token name and token symbol as per my liking and now I do have the send_dfx function, so I’ll be able to send it to account ids and every other function is working just as I want it to.
But will there be any issues regarding this I may face?
Do you have icrc1_transfer function?
Yes I do have it
20 characters
Have you tried using the icrc1_transfer
function instead to transfer ICRC1 tokens? It would be better considering it’s part of the ICRC1 standard.
I have, that’s working absolutely perfect.
Only wherever I need to transfer my tokens to a account id, I’m using the send_dfx function.
This is of ICP ledger where I’ve given parameters of my choice.
all I wanna know is if I’ll face any issues with this, that’s it