Astar & Shiden documentation
Website
Twitter
Discord
Search…
Astar/Shiden documentation
Welcome
Introduction
Ecosystem
Polkadot
Substrate
Community
Builders & Grants Program
Learn
The Problems Astar Solves
Layer 2
Token Economics
Crowdloan
DApp staking
Introduction
For Stakers
For Developers
XCM
Overview
Using XCM on Astar
Building with XCM on Astar
XCM Asset List
FAQ
Bridges
Celer Bridge
Anyswap Bridge
Integration
Network Details
Faucet
DApp listing
Node providers
Indexers
Oracles
Wallets
Build
Smart Contracts
API
Maintain
Collator
Learn about collators
Mainnet collator guide
Testnet collator guide
Collator Requirements
Spin up testnet Collator
Collator Fund
Secure Collator Setup
Node Maintenance
Archive Node
Snapshots
Node Commands
User Guides
How To
Wallets
Develop and Deploy your first smart contract on Astar/Shiden EVM
External Links
Astar Network Whitepaper (old)
Discord
GitHub
Forum
Powered By
GitBook
Spin up testnet Collator
Build a collator node
Start by building the collator node with the guide from
Secure Collator Setup
below:
Building Collator node
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
Previous
Collator Requirements
Next
Collator Fund
Last modified
3mo ago
Copy link
Contents
Build a collator node
Verify synchronization
Session Keys
Identity
Bond funds
Production blocks
External documentation