You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Explore how to connect to Kusama Hub for developing and testing smart contracts in a live environment with real monetary value.
4
+
---
5
+
6
+
# Connect to Kusama
7
+
8
+
--8<-- 'text/smart-contracts/polkaVM-warning.md'
9
+
10
+
<divclass="button-wrapper">
11
+
<a href="#" class="md-button connectMetaMask" value="kusamaHub">Connect to Kusama Hub</a>
12
+
</div>
13
+
14
+
For more information about how to connect to a Polkadot network, please check the [Wallets](/develop/smart-contracts/wallets/){target=\_blank} guide.
15
+
16
+
!!! info "Production Environment"
17
+
Kusama Hub offers a live environment for deploying smart contracts. Please note that the most recent version of Polkadot's Ethereum-compatible stack is available on the TestNet; however, you can also deploy it to the Kusama Hub for production use.
18
+
19
+
20
+
## Networks Details
21
+
22
+
Developers can leverage smart contracts on Kusama Hub for live production deployments. This section outlines the network specifications and connection details.
While the compatibility with regular EVM codebases is still being maximized, some recommendations include:
58
+
59
+
-**Leverage [Hardhat](/develop/smart-contracts/dev-environments/hardhat){target=\_blank}** to compile, deploy, and interact with your contract.
60
+
-**Use MetaMask** to interact with your dApp (note that using MetaMask can sometimes lead to `Invalid transaction` errors - this is actively being worked on and will be fixed soon).
61
+
-**Avoid Remix** for deployment as MetaMask enforces a 48kb size limit when using the [Remix IDE](/develop/smart-contracts/dev-environments/remix){target=\_blank}, which is why Hardhat Polkadot is recommended for deployment.
62
+
63
+
Kusama Hub is a live environment. Ensure your contracts are thoroughly tested before deployment, as transactions on Kusama Hub involve real KSM tokens and **cannot be reversed**.
64
+
65
+
## Where to Go Next
66
+
67
+
For your next steps, explore the various smart contract guides demonstrating how to use and integrate different tools and development environments into your workflow.
68
+
69
+
<divclass="grid cards"markdown>
70
+
71
+
- <spanclass="badge guide">Guide</span> **Deploy your first contract with Hardhat**
72
+
73
+
---
74
+
75
+
Explore the recommended smart contract development and deployment process on Kusama Hub using Hardhat.
76
+
77
+
[:octicons-arrow-right-24: Build with HardHat](/develop/smart-contracts/dev-environments/hardhat/)
78
+
79
+
- <spanclass="badge guide">Guide</span> **Interact with the blockchain using viem**
80
+
81
+
---
82
+
83
+
Use viem for interacting with Ethereum-compatible chains to deploy and interact with smart contracts on Kusama Hub.
84
+
85
+
[:octicons-arrow-right-24: Build with viem](/develop/smart-contracts/libraries/viem/)
description: Explore how to connect to Kusama Hub for developing and testing smart contracts in a live environment with real monetary value.
6868
+
---
6869
+
6870
+
# Connect to Kusama
6871
+
6872
+
!!! smartcontract "PolkaVM Preview Release"
6873
+
PolkaVM smart contracts with Ethereum compatibility are in **early-stage development and may be unstable or incomplete**.
6874
+
6875
+
<div class="button-wrapper">
6876
+
<a href="#" class="md-button connectMetaMask" value="kusamaHub">Connect to Kusama Hub</a>
6877
+
</div>
6878
+
6879
+
For more information about how to connect to a Polkadot network, please check the [Wallets](/develop/smart-contracts/wallets/){target=\_blank} guide.
6880
+
6881
+
!!! info "Production Environment"
6882
+
Kusama Hub offers a live environment for deploying smart contracts. Please note that the most recent version of Polkadot's Ethereum-compatible stack is available on the TestNet; however, you can also deploy it to the Kusama Hub for production use.
6883
+
6884
+
6885
+
## Networks Details
6886
+
6887
+
Developers can leverage smart contracts on Kusama Hub for live production deployments. This section outlines the network specifications and connection details.
While the compatibility with regular EVM codebases is still being maximized, some recommendations include:
6923
+
6924
+
- **Leverage [Hardhat](/develop/smart-contracts/dev-environments/hardhat){target=\_blank}** to compile, deploy, and interact with your contract.
6925
+
- **Use MetaMask** to interact with your dApp (note that using MetaMask can sometimes lead to `Invalid transaction` errors - this is actively being worked on and will be fixed soon).
6926
+
- **Avoid Remix** for deployment as MetaMask enforces a 48kb size limit when using the [Remix IDE](/develop/smart-contracts/dev-environments/remix){target=\_blank}, which is why Hardhat Polkadot is recommended for deployment.
6927
+
6928
+
Kusama Hub is a live environment. Ensure your contracts are thoroughly tested before deployment, as transactions on Kusama Hub involve real KSM tokens and **cannot be reversed**.
6929
+
6930
+
## Where to Go Next
6931
+
6932
+
For your next steps, explore the various smart contract guides demonstrating how to use and integrate different tools and development environments into your workflow.
6933
+
6934
+
<div class="grid cards" markdown>
6935
+
6936
+
- <span class="badge guide">Guide</span> **Deploy your first contract with Hardhat**
6937
+
6938
+
---
6939
+
6940
+
Explore the recommended smart contract development and deployment process on Kusama Hub using Hardhat.
6941
+
6942
+
[:octicons-arrow-right-24: Build with HardHat](/develop/smart-contracts/dev-environments/hardhat/)
6943
+
6944
+
- <span class="badge guide">Guide</span> **Interact with the blockchain using viem**
6945
+
6946
+
---
6947
+
6948
+
Use viem for interacting with Ethereum-compatible chains to deploy and interact with smart contracts on Kusama Hub.
6949
+
6950
+
[:octicons-arrow-right-24: Build with viem](/develop/smart-contracts/libraries/viem/)
0 commit comments