Spin up testnet Collator

Build a collator node

Start by building the collator node with the guide from Secure Collator Setup below:

Verify synchronization

Before jumping to the next steps, you have to wait until your node is fully synchronized. This can take a long time depending on the chain height.
Check the current synchronization status:
1
journalctl -f -u shibuya-node -n100
Copied!

Session Keys

Author session keys

Run the following command to author session keys:
1
curl -H "Content-Type: application/json" -d '{"id":1, "jsonrpc":"2.0", "method": "author_rotateKeys", "params":[]}' http://localhost:9933
Copied!
Result will look like this, copy the key:
1
{"jsonrpc":"2.0","result":"0x600e6cea49bdeaab301e9e03215c0bcebab3cafa608fe3b8fb6b07a820386048","id":1}
Copied!

Set session keys

Go to the Shibuya Polkadot.js portal: Developper > Extrinsic
Select your collator account and extrinsic type: session / setKeys
Enter the session keys and set proof to 0x00
Submit the transaction.

Identity

Set identity

Go to the Shibuya Polkadot.js portal: Accounts
Open the 3 dots next to your collators address: Set on-chain Identity
Enter all fields you want to set.
Send the transaction.

Request judgment

Go to the Shibuya Polkadot.js portal: Developper > Extrinsic
Select your collator account and extrinsic type: identity / requestJudgment
Send the transaction.

Bond funds

To start collating, you need to have 32 000 SBY tokens.
Go to the Shibuya Polkadot.js portal: Developper > Extrinsic
Select your collator account and extrinsic type: CollatorSelection / registerAsCandidate
Submit the transaction.

Production blocks

Onboarding takes place at n+1 session.
Once your collator is active, you will see your name inside Network tab every time you produce a block:

External documentation

For an all-in-one tutorial, you can find below he document made by Mercury, one of our community members during the Shibuya onboarding challenge.
Shibuya collators guide
Subsocial Network