Developer Portal
Secure Chain X Developer Docs
Integrate multi-sig vault creation, MPC key shard signing, and contract firewall hooks into your dApp or backend protocol with simple API calls.
Quickstart SDK Integration
Install the official `@securechainx/sdk` package via npm, yarn, or pnpm to instantiate isolated vault contracts programmatically.
import { SecureChainVault, Network } from '@securechainx/sdk';
const vault = new SecureChainVault({
network: Network.ETHEREUM_MAINNET,
apiKey: process.env.SECURE_CHAIN_KEY,
});
// Initialize 2-of-3 Multi-Sig Policy
const vaultAddress = await vault.createVault({
threshold: 2,
owners: [
'0x71C7656EC7ab88b098defB751B7401B5f6d8976F',
'0x2546BcD3c84621e976D8185a91A922aE77ECEc30',
'0xbDA5747b36510837474E07909747126b7888f8E4'
]
});
console.log('Vault Deployed at:', vaultAddress);