Description: Build an automated market-maker based on the constant product rulex * y = k.
Motivation/Impact/Importance: Uniswap's volume reached $1B/day based on a simple formula.
Completion/Success Criteria: smart contracts and web user interface for
[ ] adding a new token pair (inputs: a purse and suggested label of each denomination; output: a global name (such as a registry URI) for the pair)
[ ] adding liquidity (inputs: the registered name for the pair plus a purse of each denomination)
[ ] quoting prices (inputs: a pair name, an amount, and a boolean for which side of the pair the caller is selling)
[ ] trading and updating prices based on the constant product rule (inputs: the registered name for the pair, a direction boolean, and a purse of the relevant denomination)
Bonus points:
[ ] add Issuers, brands, and AmountMath to MakeMint.rho to flesh out ERTP RChain
Description: Build an automated market-maker based on the constant product rule
x * y = k
.Motivation/Impact/Importance: Uniswap's volume reached $1B/day based on a simple formula.
Completion/Success Criteria: smart contracts and web user interface for
Bonus points:
AmountMath
to MakeMint.rho to flesh out ERTP RChainLink to specs and additional info :
Mentors: @dckc (@jimscarver ? @nzpr ?)
Team :
Skills: rholang, web development, defi basics
RChain Priority: