Store Data on the Network
Prerequisites
Steps
1. Check the daemon is healthy
curl http://localhost:8082/healthfrom antd import AntdClient
client = AntdClient()
status = client.health()
print(status.network)
print(status.ok)import { createClient } from "antd";
async function main() {
const client = createClient();
const status = await client.health();
console.log(status.network);
console.log(status.ok);
}
main().catch((error) => {
console.error(error);
process.exit(1);
});{
"status": "ok",
"network": "default"
}2. Store a public payload
3. Retrieve the payload
4. Verify the round-trip
What happened
Next steps
Last updated