@ens-node-metadata/agent 0.2.10 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/SKILL.md +5 -4
- package/package.json +1 -1
package/SKILL.md
CHANGED
|
@@ -43,10 +43,10 @@ A registration file is required to register your Agent's identity.
|
|
|
43
43
|
|
|
44
44
|
```sh
|
|
45
45
|
# edit with your details
|
|
46
|
-
ens-agent registration-file template > registration.json
|
|
46
|
+
ens-agent registration-file template > registration.json
|
|
47
47
|
|
|
48
48
|
# validate
|
|
49
|
-
ens-agent registration-file validate registration.json
|
|
49
|
+
ens-agent registration-file validate registration.json
|
|
50
50
|
```
|
|
51
51
|
|
|
52
52
|
#### Publishing a registration file
|
|
@@ -59,8 +59,9 @@ The following variables should be in your environment to use this command.
|
|
|
59
59
|
|
|
60
60
|
```sh
|
|
61
61
|
# Publish to IPFS
|
|
62
|
-
ens-agent registration-file publish registration.json
|
|
63
|
-
# Returns => ipfs
|
|
62
|
+
ens-agent registration-file publish registration.json
|
|
63
|
+
# Returns => {"cid":"<CID>","uri":"ipfs://<CID>"} — use jq to extract:
|
|
64
|
+
# agent-uri=$(ens-agent registration-file publish registration.json | jq -r '.uri')
|
|
64
65
|
```
|
|
65
66
|
|
|
66
67
|
#### Register your Agent
|