Do some research and tests first - Scripts to set up the order book
[ ] Deploy a public faucet and mint assets for the 50 notes ASSET1
[ ] Create a script that issues 50 public notes with the same TAG but different inputs. For the first version: use the normal SWAP script.
[ ] Deploy a second public faucet and mint some assets for the executing account ASSET2
The program - Wrapper around the Miden client with a CLI
[ ] Create a Rust program in which the user can enter a TAG in the CLI. The program then queries the Miden Node and gets all public notes with the same TAG. As a result, all notes should be listed in the interface.
[ ] Order notes by price (get info from Alex how price is defined in SWAPp note).
[ ] The user should be able to enter an order into the CLI. Then, the program should return the set of best orders as a suggestion. If the user agrees to it, the program builds a TransactionRequest.
Let's build a CLI-based order book
Do some research and tests first - Scripts to set up the order book
ASSET1
TAG
but different inputs. For the first version: use the normalSWAP
script.ASSET2
The program - Wrapper around the Miden client with a CLI
TAG
in the CLI. The program then queries the Miden Node and gets all public notes with the sameTAG
. As a result, all notes should be listed in the interface.TransactionRequest
.TransactionRequest
Collect feedback