chore: update readme
23d0aa0b
1 file(s) · +17 −0
| 215 | 215 | atlas edit abi myname.eth ./contract-abi.json --resolver 0x231b0Ee14048e9dCcD1d247744d114a4EB5E8E63 |
|
| 216 | 216 | ``` |
|
| 217 | 217 | ||
| 218 | + | ### `edit contenthash` |
|
| 219 | + | Set or clear a content hash for an ENS name |
|
| 220 | + | ||
| 221 | + | ```bash |
|
| 222 | + | # Set an IPFS content hash |
|
| 223 | + | atlas edit contenthash myname.eth ipfs://QmRAQB6YaCyidP37UdDnjFY5vQuiBrcqdyoW1CuDgwxkD4 |
|
| 224 | + | ||
| 225 | + | # Set an IPNS content hash |
|
| 226 | + | atlas edit contenthash myname.eth ipns://k51qzi5uqu5djdczd6zw0grmo23j2vkj9uzvujencg15s5rlkq0ss4ivll8wqw |
|
| 227 | + | ||
| 228 | + | # Clear a content hash by passing 'null' |
|
| 229 | + | atlas edit contenthash myname.eth null |
|
| 230 | + | ||
| 231 | + | # Specify a custom resolver address |
|
| 232 | + | atlas edit contenthash myname.eth ipfs://QmHash --resolver 0x231b0Ee14048e9dCcD1d247744d114a4EB5E8E63 |
|
| 233 | + | ``` |
|
| 234 | + | ||
| 218 | 235 | ## Development |
|
| 219 | 236 | ||
| 220 | 237 | Make sure [Bun](https://bun.sh) is installed |