This documentation is restricted to authorised members of the SWSS Developer Community. Access is granted exclusively through SWSS DevHub, after KYB and SWSS Foundation approval.
All SwssChain GitHub repositories are private. Significant updates are currently deploying across the full SWSS Ecosystem. SDK and API specifications are subject to change at any time in accordance with security requirements and SwssChain Foundation governance decisions.
SWSS SDK v2.1 is deploying across the ecosystem. API signatures may change during this period. Ensure your integration uses the latest schema from SWSS DevHub.
Can I add SwssChain testnet to my wallet manually?
Yes, using the network details on this page and the RPC URL issued with your credentials. The chain id is 122606 and the currency symbol is SWSS with 18 decimals.
Is the testnet reset, and do I lose my contracts?
It is reset periodically. Balances, deployments, deed records and transaction history are all cleared. Keep contract addresses in version-controlled configuration and script your deployment and test data setup so a reset costs you a command rather than a day.
How much notice is given before a reset?
A minimum of seven days, announced through the SWSS DevHub change log and the developer mailing list.
Does testnet run the same protocol version as mainnet?
Both networks report the same client version. Testnet may carry pre-release protocol flags ahead of mainnet; where it does, that is stated with the flag rather than implied by a version number.
Can I reuse a mainnet private key on testnet?
No. Generate a separate key pair for each environment, and keep testnet keys in a .env file that is listed in .gitignore.
Why does my transaction fail with a chain id mismatch?
EIP-155 replay protection incorporates the chain id into the signing hash. A transaction signed for 122605 cannot be submitted to 122606 and the reverse is also true: check the chain id your signer is configured with, not just the endpoint.
