[WIP] coder/idl: Serum
Implementing the Coder and IDL for ~~https://github.com/project-serum/serum-dex~~ https://github.com/Bonfida/dex-v4
@armaniferrante how would I be configuring the tests for this? I believe the other tests such as for system-coder, runs on local cluster since these are native programs.
For programs like Serum, I would need to first deploy the dex-v4 program, and then also have the Coder point to that address right?
@armaniferrante how would I be configuring the tests for this? I believe the other tests such as for system-coder, runs on local cluster since these are native programs.
For programs like Serum, I would need to first deploy the
dex-v4program, and then also have the Coder point to that address right?
You can deploy any program at any program address at genesis time for tests via the Anchor.toml. See this as an example. https://github.com/project-serum/anchor/blob/master/tests/cfo/Anchor.toml#L29-L31
@armaniferrante how would I be configuring the tests for this? I believe the other tests such as for system-coder, runs on local cluster since these are native programs. For programs like Serum, I would need to first deploy the
dex-v4program, and then also have the Coder point to that address right?You can deploy any program at any program address at genesis time for tests via the Anchor.toml. See this as an example. https://github.com/project-serum/anchor/blob/master/tests/cfo/Anchor.toml#L29-L31
that's pretty cool! will def check out how that works as well, being able to deploy a program at any address without the secret-key, thanks @armaniferrante!
closing for now given the unclear status of serum v4.