IcpFeatures
Defined in: pocket-ic-types.ts:290
Specifies ICP features enabled by deploying their corresponding system canisters
when creating a PocketIC instance and keeping them up to date during the PocketIC instance lifetime.
The subnets to which the corresponding system canisters are deployed must be empty.
An ICP feature is enabled if its IcpFeaturesConfig is provided, i.e., if the corresponding field is set.
cyclesMinting?
Section titled “cyclesMinting?”
optionalcyclesMinting:DefaultConfig
Defined in: pocket-ic-types.ts:302
Deploys the NNS cycles minting canister, sets ICP/XDR conversion rate, and keeps its subnet lists in sync with PocketIC topology. If enabled, the default timestamp of a PocketIC instance is set to 10 May 2021 10:00:01 AM CEST (the smallest value that is strictly larger than the default timestamp hard-coded in the CMC state).
cyclesToken?
Section titled “cyclesToken?”
optionalcyclesToken:DefaultConfig
Defined in: pocket-ic-types.ts:310
Deploys the cycles ledger and index canisters.
icpToken?
Section titled “icpToken?”
optionalicpToken:DefaultConfig
Defined in: pocket-ic-types.ts:306
Deploys the ICP ledger and index canisters and initializes the ICP account of the anonymous principal with 1,000,000,000 ICP.
optionalii:DefaultConfig
Defined in: pocket-ic-types.ts:324
Deploys the Internet Identity canister.
nnsGovernance?
Section titled “nnsGovernance?”
optionalnnsGovernance:DefaultConfig
Defined in: pocket-ic-types.ts:315
Deploys the NNS governance and root canisters and sets up an initial NNS neuron with 1 ICP stake.
The initial NNS neuron is controlled by the principal hpikg-6exdt-jn33w-ndty3-fc7jc-tl2lr-buih3-cs3y7-tftkp-sfp62-gqe.
nnsUi?
Section titled “nnsUi?”
optionalnnsUi:undefined
Defined in: pocket-ic-types.ts:328
Currently not supported.
registry?
Section titled “registry?”
optionalregistry:DefaultConfig
Defined in: pocket-ic-types.ts:296
Deploys the NNS registry canister and keeps its content in sync with registry used internally by PocketIC. Note. The registry used internally by PocketIC is not updated after changing the registry stored in the registry canister (e.g., after executing an NNS proposal mutating the registry).
optionalsns:DefaultConfig
Defined in: pocket-ic-types.ts:320
Deploys the SNS-W and aggregator canisters, sets up the SNS subnet list in the SNS-W canister according to PocketIC topology, and uploads the SNS canister WASMs to the SNS-W canister.