Skip to content

Commit

Permalink
Pulling curl requests for accessing mainnet into readme instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
mzkrasner committed Jun 17, 2024
1 parent 1fc6a11 commit 272cd8e
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,27 @@ npm run postgres
npm run ceramic-one
```

8. Go through the steps outlined in the [Access Ceramic Mainnet](https://developers.ceramic.network/docs/composedb/guides/composedb-server/access-mainnet) docs (skip over step 1). When asked to register your DID in step 3, copy-paste your node DID (found in node_did.txt).
8. Verify your email address and register your node did (found in node_did.txt) so your js-Ceramic process can access the anchor service:

```bash
# a. Verifying email address
curl --request POST \
--url https://cas.3boxlabs.com/api/v0/auth/verification \
--header 'Content-Type: application/json' \
--data '{"email": "youremailaddress"}'

# b. Registering your node DID
curl --request POST \
--url https://cas.3boxlabs.com/api/v0/auth/did \
--header 'Content-Type: application/json' \
--data '{
"email": "youremailaddress",
"otp": "youronetimepasscode",
"dids": [
"yourdid"
]
}'
```

9. Finally, you can start your js-Ceramic process:

Expand Down

0 comments on commit 272cd8e

Please sign in to comment.