dingir-exchange
dingir-exchange copied to clipboard
design: make codes related to Fluidex and codes not decouple better
so dingir-exchange can be used by others more easily
FYI: I've created an Etherum-less version of dingir exchange --> https://github.com/gcomte/dingir-exchange
FYI: I've created an Etherum-less version of dingir exchange --> https://github.com/gcomte/dingir-exchange
Looks nice :D
@gcomte you might also want to remove account table's l2_pubkey combine it as
[derive(sqlx::FromRow, Debug, Clone, Serialize)]
pub struct AccountDesc {
pub id: i32, // TODO: i32 or i64?
pub pubkey: String,
}
pubkey can be used to check singnature. you might wanna remove OrderCommitment and implement your own signature verification logic, for example: https://github.com/fluidex/dingir-exchange/issues/59#issuecomment-767395547
// TODO(not urgent): we should move nonce/sig_verify to the rollup_state_manager process later?
and make dingir-exchange more 'internal service'
pubkey can be used to check singnature. you might wanna remove OrderCommitment and implement your own signature verification logic, for example: #59 (comment)
I just removed the user management altogether. We will take care of it with an external service.