diff --git a/docs/02-getting-started/01-setup.mdx b/docs/02-getting-started/01-setup.mdx index 68c00cba..5b3b416e 100644 --- a/docs/02-getting-started/01-setup.mdx +++ b/docs/02-getting-started/01-setup.mdx @@ -197,18 +197,24 @@ cargo run -p merod -- --node-name node1 --home data init --server-port 2428 --sw ``` > **_NOTE:_** A `--protocol` flag defines protocol for the context. Currently, -> we support Starknet and NEAR protocol. By default, the protocol is set to NEAR -> protocol, but you can set it explicitly to Starknet by using the following -> command: +> we support Internet Computer (ICP), Starknet and NEAR protocol. By default, +> the protocol is set to NEAR protocol, but you can set it explicitly to +> Starknet or ICP by using the following commands: > > ```bash title="Terminal" > cargo run -p merod -- --node-name node1 --home data init --server-port 2428 --swarm-port 2528 --protocol starknet > ``` +> +> ```bash title="Terminal" +> cargo run -p merod -- --node-name node1 --home data init --server-port 2428 --swarm-port 2528 --protocol icp +> ``` > You can also view these settings in the config.toml file located within the > node folder. > -> ![NearConfig](/init/near-config.png) >![SnConfgi](/init/sn-config.png) +> **Near** ![NearConfig](/init/near-config.png) **Starknet** +> ![SnConfig](/init/sn-config.png) **Internet Computer (ICP)** +> ![ICPConfig](/init/icp-config.png) #### 2. Run node diff --git a/docs/03-core-concepts/06-blockchains-integration/01-blockchain-integration-general.mdx b/docs/03-core-concepts/06-blockchains-integration/01-blockchain-integration-general.mdx index 4adc3e29..b9e90a05 100644 --- a/docs/03-core-concepts/06-blockchains-integration/01-blockchain-integration-general.mdx +++ b/docs/03-core-concepts/06-blockchains-integration/01-blockchain-integration-general.mdx @@ -14,6 +14,7 @@ Calimero currently supports the following blockchain protocols: - NEAR - Starknet +- Internet Computer (ICP)
@@ -22,6 +23,7 @@ graph TD A[Calimero] --> B[Integrations] B --> C[NEAR] B --> D[Starknet] +B --> E[ICP] ```
diff --git a/docs/03-core-concepts/06-blockchains-integration/02-context-contract.mdx b/docs/03-core-concepts/06-blockchains-integration/02-context-contract.mdx index 17cded86..fff948df 100644 --- a/docs/03-core-concepts/06-blockchains-integration/02-context-contract.mdx +++ b/docs/03-core-concepts/06-blockchains-integration/02-context-contract.mdx @@ -22,13 +22,20 @@ import TabItem from '@theme/TabItem'; defaultValue="starknet" values={[ {label: 'Starknet', value: 'starknet'}, + {label: 'ICP', value: 'icp'}, ]}> - -```bash title="Start node with Starknet protocol" -cargo run -p merod -- --node-name node1 --home data init --server-port 2428 --swarm-port 2528 --protocol starknet -``` - + + ```bash title="Start node with Starknet protocol" + cargo run -p merod -- --node-name node1 --home data init --server-port 2428 --swarm-port 2528 --protocol starknet + ``` + + + ```bash title="Start node with Internet Computer (ICP)" + cargo run -p merod -- --node-name node1 --home data init --server-port 2428 --swarm-port 2528 --protocol icp + ``` + + **Note**: NEAR protocol is set by default, so if user wants to use NEAR diff --git a/package.json b/package.json index 88fc1af5..677d17ed 100644 --- a/package.json +++ b/package.json @@ -53,5 +53,6 @@ }, "engines": { "node": ">=20.13" - } + }, + "packageManager": "pnpm@9.6.0+sha512.38dc6fba8dba35b39340b9700112c2fe1e12f10b17134715a4aa98ccf7bb035e76fd981cf0bb384dfa98f8d6af5481c2bef2f4266a24bfa20c34eb7147ce0b5e" } diff --git a/static/init/icp-config.png b/static/init/icp-config.png new file mode 100644 index 00000000..68aa0844 Binary files /dev/null and b/static/init/icp-config.png differ