0age pfp
0age
@0age
open-sourced another building block on the path to cross-chain swaps: a reference implementation of a minimalistic server-based allocator for The Compact it's called Smallocator šŸ¤ https://github.com/Uniswap/smallocator if you're wondering "what the hell is an allocator" then read on ā†“
1 reply
5 recasts
41 reactions

0age pfp
0age
@0age
so the way that The Compact works is that you deposit into resource locks when you do, you choose an allocator for that lock then when you create a compact (e.g. a request to take some action) they make sure you're not double-spending & "attest" that the compact's good to go
1 reply
0 recast
6 reactions

0age pfp
0age
@0age
arguably the most straightforward allocator would be a purely onchain contract to fill a cross-chain swap, you'd call this contract, it'd check your balance and your pending compacts, and reserve the tokens for you for a little while but this is slow, pricey, and not private
1 reply
0 recast
2 reactions