Closed vldm closed 1 year ago
Some of dApps want to host own bridge and pay fee for their customers.
In order to make it pay off, dApp creators should implement fee logic in their contracts, which is out of scope of velas-chain project.
But also, bridge should allow setting token list that it will process, and pay velas fee for it.
Proposed whitelist format for bridge is an array of pairs (contract_address, input_data_filter)
Where input_data_filter, at first milestone can filter only by starting bytes.
tx.input.start_with(input_data_filter)
Some of dApps want to host own bridge and pay fee for their customers.
In order to make it pay off, dApp creators should implement fee logic in their contracts, which is out of scope of velas-chain project.
But also, bridge should allow setting token list that it will process, and pay velas fee for it.
Proposed whitelist format for bridge is an array of pairs (contract_address, input_data_filter)
Where input_data_filter, at first milestone can filter only by starting bytes.
tx.input.start_with(input_data_filter)