Cardinal (Game Shard)
Building Your Game Shard
- Project Structure
- World (main.go)
- Component
- System
- Message
- Query
- Cardinal Query Language (CQL)
- EVM+ Message and Query
- Persona (Game Account)
- Configurations (world.toml)
Inter-Shard Communication
REST API
/query/persona/signer
Get persona data from cardinal
POST
/
query
/
persona
/
signer
Copy
Ask AI
curl --request POST \
--url http://localhost:4040/query/persona/signer \
--header 'Content-Type: application/json' \
--data '{
"personaTag": "<string>",
"tick": 123
}'
Copy
Ask AI
{
"status": "<string>",
"signerAddress": "<string>"
}
Body
application/json
Response
200
application/json
Successful response
The response is of type object
.
Copy
Ask AI
curl --request POST \
--url http://localhost:4040/query/persona/signer \
--header 'Content-Type: application/json' \
--data '{
"personaTag": "<string>",
"tick": 123
}'
Copy
Ask AI
{
"status": "<string>",
"signerAddress": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.