Deployment Rehearsal
Follow this progression to catch issues at each stage:
Stage 1: Local Neo-Express
bash
# Create a fresh chain
NEOXP=./build/dotnet-tools/neoxp
$NEOXP create -f -o chain.neo-express
$NEOXP transfer -i chain.neo-express 100 GAS genesis node1
# Deploy
$NEOXP contract deploy -i chain.neo-express build/contract.nef node1
# Test every public method
# Test every event emission
# Test error conditions (require failures, access control)
# Test constructor arguments if applicable
# Test contract update if applicableStage 2: Neo N3 TestNet
- Obtain test GAS from the Neo TestNet faucet.
- Deploy the exact same
.nefand.manifest.jsonfiles. - Run the same test scenarios as local.
- Verify transaction results on a Neo block explorer.
- Test with multiple accounts and concurrent transactions.
Stage 3: Neo N3 MainNet
- Verify the contract hash matches your prediction.
- Deploy with a funded MainNet account.
- Start with small-value transactions to verify behavior.
- Monitor the contract for unexpected behavior.
