FLIP 281: Integrating LostAndFound with Flow Port and Flow Wallet for Token Transfers#286
FLIP 281: Integrating LostAndFound with Flow Port and Flow Wallet for Token Transfers#286
LostAndFound with Flow Port and Flow Wallet for Token Transfers#286Conversation
…or Token Transfers
There was a problem hiding this comment.
It is possible to also use a resource we call the Depositor for this in case you weren't aware:
https://github.com/Flowtyio/lost-and-found/blob/main/contracts/LostAndFound.cdc#L506
You can find sample transactions for its use here:
https://github.com/Flowtyio/lost-and-found/tree/main/transactions/depositor
The issue I've found with FeeEstimator is that every account on Flow is different. What works the account that does fee estimation might be too little to for another account that intends to use that estimation
There was a problem hiding this comment.
Despositor is great for more advanced use cases but we're not looking to sponsor storage fees for now. We like to show the total cost of transfer to the user for payment.
The issue I've found with FeeEstimator is that every account on Flow is different. What works the account that does fee estimation might be too little to for another account that intends to use that estimation
Can you elaborate on whats the best way to estimate the total cost of interaction (deposit)? Can we use https://github.com/Flowtyio/lost-and-found/blob/main/scripts/lost-and-found/estimate_deposit_nft.cdc?
There was a problem hiding this comment.
Probably worth mentioning here that the minimum cost for a new account is likely to increase (I think?) Which would drastically increase the minimum needed to send things using this method.
I recall doing benchmarks a very long time ago and found that you could send a few thousand NFTs (very basic ones) for 1 FLOW of storage, it should be the cheapest option by far
There was a problem hiding this comment.
Yeah, the storage balance is the deal breaker for this approach. Added a comment af2cddc
|
We have a basic integration working live on port.flow.com now |
FLIP #281