Guidelines on how to do it will be published. It will require some programing skills to do it, but for sure will be worthy
What about my question? About the block, confirmation, and clogging, and about the trustless/collateralless method, I assume KYC is mandatory?
That's the definition of the flash loan:
Flash Loans are a unique capability available only on the blockchain protocol and represent an uncollateralized loan option that has to be returned in the same block transaction.
Flash Loans enable you to borrow instantly and easily any amount, with no collateral needed, but only if that amount is returned to the vault within one transaction block.
If this does not happen, the whole transaction is reversed and undo the actions executed until that point. This guarantees the safety of the funds in the vaults.
Use-cases include arbitrage, collateral swapping, rebalance, liquidation, and many more.
No KYC needed
I don't think I grasp the concept quite correctly. If I may confirm, suppose I want to borrow 5 bnb that's available and provided by the vault, at a block number (let's say) 12345, the only possible scenario is either I managed to do an arbitrage within two exchanges I choose and the whole transaction opened and closed within #12345, or nothing happened because the whole transaction went through #12346? There is no case where I have to lose my collateral (perhaps set as default and agreed upon account creation or at some point somewhere) because the chain is clogged and my transaction went to the next block?