Here's one compiled with only loop(2) (up to 2 inputs to merge or 2 outputs)
https://whatsonchain.com/tx/2bf8b347787da1b22fcb09dccad5640697cc3b14fca74d22a1876181f24e5c06
Here's one compiled with only loop(2) (up to 2 inputs to merge or 2 outputs)
https://whatsonchain.com/tx/2bf8b347787da1b22fcb09dccad5640697cc3b14fca74d22a1876181f24e5c06
It's ~5KB only in that case. I picked 20 inputs and outputs as a good "standard" so that the base contract is ~10KB (not bad trade-off for 20x more inputs/outputs).
Fields the transaction did not carry are omitted. Open the payload to see the bytes as stored.
17DJKzxx6XvzHy41vRTYU91ugMtFY1CNQ2 VerifiedFor the reference: erc20 transfer is about $0.5, eth transfer is about $0.2. I like 20 inputs for erc20 :D
Doing a 20-way merge at current fee rate, for when BSV is worth $2,000 still costs about as much as any Ethereum transfer.
This is the world's cheapest permissionless FT token solution already.
So far to go still...
I think we need it around cent to attract eth people, there are a lot of utility lost compared to erc20s.
At the current BSV price it is about a cent per a typical transaction.
Even if BSV rises 10x to $2000 by then the fee rate will be 0.01 sats/byte and therefore holding at about 1 cent still.