Open
Description
One of the interesting capabilities in Convex is the ability for Account to be transferred between owners (like any other digital assets), since the public key associated with the Account.
The bounty is for a secure smart contract that buys and sells Accounts automatically, enabling these to be recycled.
Requirements
- Must allow users to "buy" an Account from the market (or create one if not available)
- Must allow users to "sell" an Account back to the market
- Market price must increase when less Accounts are available, decrease when more are available (probably with a "bonding curve")
- Accounts sold to the market must be cleared in a reliable and well-specified way to make them usable for a new owner. Use of
undef
,set-controller
andset-key
probably required. - Must have consideration for all possible security and cryptoeconomic risks
- Must have comprehensive tests and documentation
- Must be submitted and accepted as a PR on the Convex main repo (https://github.com/Convex-Dev/convex)