Hi, I’m testing NCW things in the sandbox environment with below settings.
NCW Web Demo
NCW Backend Demo : using example .env with my api key information, local db
With above setup, in the Web, generating device ID, wallet ID, MPC key works well and can be found in my local DB.
But the transaction has stuck in the “pending signature” status.
Then I add webhook configure using ngrok, running with api co-signer example code, but nothing changed.
Here is the whole logs of the web demo
{"level":"INFO","message":"API call completed","data":{"method":"get_cloud_cosigner_certificate"},"deviceId":"b5ecf427-fb85-4b7b-adbb-3678e1bcda20","timestamp":"2024-03-12T06:55:05.308Z","id":493} {"level":"INFO","message":"Calling API","data":{"method":"get_cloud_cosigner_certificate"},"deviceId":"b5ecf427-fb85-4b7b-adbb-3678e1bcda20","timestamp":"2024-03-12T06:55:03.674Z","id":492} {"level":"INFO","message":"using cached service certificates","deviceId":"b5ecf427-fb85-4b7b-adbb-3678e1bcda20","timestamp":"2024-03-12T06:55:03.673Z","id":491} {"level":"INFO","message":"MPC setup completed","data":{"algorithm":"MPC_CMP_ECDSA_SECP256K1"},"deviceId":"b5ecf427-fb85-4b7b-adbb-3678e1bcda20","timestamp":"2024-03-12T02:22:59.136Z","id":490} {"level":"INFO","message":"API call completed","data":{"method":"send_mpc_public_keys"},"deviceId":"b5ecf427-fb85-4b7b-adbb-3678e1bcda20","timestamp":"2024-03-12T02:22:59.129Z","id":489} {"level":"INFO","message":"Calling API","data":{"method":"send_mpc_public_keys"},"deviceId":"b5ecf427-fb85-4b7b-adbb-3678e1bcda20","timestamp":"2024-03-12T02:22:58.612Z","id":488} {"level":"INFO","message":"API call completed","data":{"method":"broadcast_mpc_msg"},"deviceId":"b5ecf427-fb85-4b7b-adbb-3678e1bcda20","timestamp":"2024-03-12T02:22:58.539Z","id":487} {"level":"INFO","message":"Calling API","data":{"method":"broadcast_mpc_msg"},"deviceId":"b5ecf427-fb85-4b7b-adbb-3678e1bcda20","timestamp":"2024-03-12T02:22:57.910Z","id":486} {"level":"INFO","message":"API call completed","data":{"method":"broadcast_mpc_msg"},"deviceId":"b5ecf427-fb85-4b7b-adbb-3678e1bcda20","timestamp":"2024-03-12T02:22:56.564Z","id":485} {"level":"INFO","message":"Calling API","data":{"method":"broadcast_mpc_msg"},"deviceId":"b5ecf427-fb85-4b7b-adbb-3678e1bcda20","timestamp":"2024-03-12T02:22:54.700Z","id":484} {"level":"INFO","message":"API call completed","data":{"method":"broadcast_mpc_msg"},"deviceId":"b5ecf427-fb85-4b7b-adbb-3678e1bcda20","timestamp":"2024-03-12T02:22:53.143Z","id":483} {"level":"INFO","message":"Calling API","data":{"method":"broadcast_mpc_msg"},"deviceId":"b5ecf427-fb85-4b7b-adbb-3678e1bcda20","timestamp":"2024-03-12T02:22:52.467Z","id":482} {"level":"INFO","message":"API call completed","data":{"method":"broadcast_mpc_msg"},"deviceId":"b5ecf427-fb85-4b7b-adbb-3678e1bcda20","timestamp":"2024-03-12T02:22:52.425Z","id":481} {"level":"INFO","message":"Calling API","data":{"method":"broadcast_mpc_msg"},"deviceId":"b5ecf427-fb85-4b7b-adbb-3678e1bcda20","timestamp":"2024-03-12T02:22:51.664Z","id":480} {"level":"INFO","message":"API call completed","data":{"method":"poll_mpc_msg"},"deviceId":"b5ecf427-fb85-4b7b-adbb-3678e1bcda20","timestamp":"2024-03-12T02:22:51.094Z","id":479} {"level":"INFO","message":"Calling API","data":{"method":"poll_mpc_msg"},"deviceId":"b5ecf427-fb85-4b7b-adbb-3678e1bcda20","timestamp":"2024-03-12T02:22:50.478Z","id":478} {"level":"INFO","message":"API call completed","data":{"method":"request_mpc_setup"},"deviceId":"b5ecf427-fb85-4b7b-adbb-3678e1bcda20","timestamp":"2024-03-12T02:22:50.476Z","id":477} {"level":"INFO","message":"Calling API","data":{"method":"request_mpc_setup"},"deviceId":"b5ecf427-fb85-4b7b-adbb-3678e1bcda20","timestamp":"2024-03-12T02:22:49.839Z","id":476} {"level":"INFO","message":"API call completed","data":{"method":"enroll_player"},"deviceId":"b5ecf427-fb85-4b7b-adbb-3678e1bcda20","timestamp":"2024-03-12T02:22:49.825Z","id":475} {"level":"INFO","message":"Calling API","data":{"method":"enroll_player"},"deviceId":"b5ecf427-fb85-4b7b-adbb-3678e1bcda20","timestamp":"2024-03-12T02:22:48.641Z","id":474} {"level":"INFO","message":"API call completed","data":{"method":"get_all_keys"},"deviceId":"b5ecf427-fb85-4b7b-adbb-3678e1bcda20","timestamp":"2024-03-12T02:22:48.613Z","id":473} {"level":"INFO","message":"Calling API","data":{"method":"get_all_keys"},"deviceId":"b5ecf427-fb85-4b7b-adbb-3678e1bcda20","timestamp":"2024-03-12T02:22:47.401Z","id":472} {"level":"INFO","message":"API call completed","data":{"method":"get_cloud_cosigner_certificate"},"deviceId":"b5ecf427-fb85-4b7b-adbb-3678e1bcda20","timestamp":"2024-03-12T02:22:05.752Z","id":471} {"level":"INFO","message":"Calling API","data":{"method":"get_cloud_cosigner_certificate"},"deviceId":"b5ecf427-fb85-4b7b-adbb-3678e1bcda20","timestamp":"2024-03-12T02:22:05.054Z","id":470} {"level":"INFO","message":"using downloaded service certificates","deviceId":"b5ecf427-fb85-4b7b-adbb-3678e1bcda20","timestamp":"2024-03-12T02:22:05.054Z","id":469} {"level":"INFO","message":"API call completed","data":{"method":"get_service_certificates"},"deviceId":"b5ecf427-fb85-4b7b-adbb-3678e1bcda20","timestamp":"2024-03-12T02:22:05.053Z","id":468} {"level":"INFO","message":"Calling API","data":{"method":"get_service_certificates"},"deviceId":"b5ecf427-fb85-4b7b-adbb-3678e1bcda20","timestamp":"2024-03-12T02:22:03.407Z","id":467}
The docs said the co-signer do auto-sign but it doesn’t in my case.
What should I do to sign the transaction?