Solidity Tooling Compatibility
All major Solidity development tools work on SwssChain without modification. The full Ethereum developer toolchain is supported. No SwssChain-specific tooling is required for standard smart contract development: if your project already runs on an EVM chain, it targets SwssChain with only a network configuration change.
| Tool | Version | SwssChain Support | Configuration Required |
| Hardhat | 2.x | Full | Add network config: see EVM Compatibility page |
| Foundry | Latest | Full | Add rpc_endpoints to foundry.toml |
| Remix IDE | Latest | Full | Connect via injected provider (MetaMask) |
| Truffle | 5.x | Full | Add network config to truffle-config.js |
| OpenZeppelin Contracts | 5.x | Full | No changes needed |
| OpenZeppelin Upgrades | 3.x | Full | No changes needed |
| Chainlink | Latest | Compatible | Check feed availability at DevHub |
| ethers.js | 6.x | Full | Use JsonRpcProvider with SwssChain RPC URL |
| web3.js | 4.x | Full | Standard connection: update RPC URL only |
| viem | 2.x | Full | Define custom chain: see below |
| wagmi | 2.x | Full | Add custom chain to createConfig |
| The Graph | Latest | Compatible | Deploy custom subgraph targeting SwssChain |
| Tenderly | Latest | Compatible | Add SwssChain network in Tenderly dashboard |
Remix IDE Setup
- Open remix.ethereum.org.
- Navigate to the Deploy & Run Transactions tab.
- Set Environment to Injected Provider: MetaMask.
- Ensure MetaMask is connected to SwssChain Mainnet (Chain ID 122605).
- Deploy and interact with contracts normally: Remix has no awareness of the difference between SwssChain and Ethereum at this layer.
viem Custom Chain Definition
import { defineChain } from 'viem';
export const swsschain = defineChain({
id: 122605,
name: 'SwssChain Mainnet',
nativeCurrency: {
decimals: 18,
name: 'SWSS Coin',
symbol: 'SWSS'
},
rpcUrls: {
default: {
http: [process.env.SWSSCHAIN_RPC_URL!],
webSocket: [process.env.SWSSCHAIN_WS_URL!]
}
},
blockExplorers: {
default: {
name: 'SwssChain Explorer',
url: 'https://swssscan.swss.io'
}
}
});
wagmi Configuration
import { createConfig, http } from 'wagmi';
import { swsschain } from './chains';
export const wagmiConfig = createConfig({
chains: [swsschain],
transports: {
[swsschain.id]: http(process.env.NEXT_PUBLIC_SWSSCHAIN_RPC)
}
});
OpenZeppelin Usage
All OpenZeppelin contracts deploy and function identically on SwssChain. ERC-20, ERC-721, ERC-1155, Governor, AccessControl, and all proxy patterns (Transparent, UUPS, Beacon) work without modification. Upgradeable contracts using the OpenZeppelin Upgrades plugin for Hardhat or Foundry require no SwssChain-specific configuration. Timelock and governance contracts should be configured against the one-second block time, a delay expressed in blocks resolves in a second per block.
Next Steps