Closed febo closed 2 weeks ago
This PR uses Codama to generate an IDL and JavaScript client for the ORE program.
The steps required for this were:
To generate the JavaScript client using Codama from the root of the repository, you may use the following command.
pnpm install pnpm generate
This will generate the IDL from the API annotation and generate the JavaScript client.
To build the client, go into the client directory and use the following commands.
pnpm install pnpm build
The Codama IDL for the program is located in ./api/idl.codama.json.
./api/idl.codama.json
Closed in favour of #105
This PR uses Codama to generate an IDL and JavaScript client for the ORE program.
The steps required for this were:
To generate the JavaScript client using Codama from the root of the repository, you may use the following command.
This will generate the IDL from the API annotation and generate the JavaScript client.
To build the client, go into the client directory and use the following commands.
The Codama IDL for the program is located in
./api/idl.codama.json
.