Build the canister:
bun build:examples -- nns_proxyRun the tests:
bun test:examples -- nns_proxyThe Rust bindings are generated by the build.rs script, which uses the ic-cdk-bindgen crate.
The TypeScript bindings are generated with:
didc bind -t ts ./examples/nns_proxy/canisters/governance.did > ./examples/nns_proxy/tests/src/canisters/governance.d.ts
didc bind -t ts ./examples/nns_proxy/canisters/ledger.did > ./examples/nns_proxy/tests/src/canisters/ledger.d.tsAnd the corresponding JavaScript bindings:
didc bind -t js ./examples/nns_proxy/canisters/governance.did > ./examples/nns_proxy/tests/src/canisters/governance.js
didc bind -t js ./examples/nns_proxy/canisters/ledger.did > ./examples/nns_proxy/tests/src/canisters/ledger.js