Skip to content

Commit 9cab26d

Browse files
update domai nname
1 parent c34e046 commit 9cab26d

File tree

9 files changed

+182
-98
lines changed

9 files changed

+182
-98
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
<br />
55

66
<p align="center">
7-
<a href="https://ethfollow.xyz" target="_blank" rel="noopener noreferrer">
8-
<img width="275" src="https://docs.ethfollow.xyz/logo.png" alt="EFP logo" />
7+
<a href="https://efp.app" target="_blank" rel="noopener noreferrer">
8+
<img width="275" src="https://docs.efp.app/logo.png" alt="EFP logo" />
99
</a>
1010
</p>
1111
<br />
1212
<p align="center">
1313
<a href="https://pr.new/ethereumfollowprotocol/api"><img src="https://developer.stackblitz.com/img/start_pr_dark_small.svg" alt="Start new PR in StackBlitz Codeflow" /></a>
14-
<a href="https://discord.ethfollow.xyz"><img src="https://img.shields.io/badge/chat-discord-blue?style=flat&logo=discord" alt="discord chat" /></a>
14+
<a href="https://discord.efp.app"><img src="https://img.shields.io/badge/chat-discord-blue?style=flat&logo=discord" alt="discord chat" /></a>
1515
<a href="https://x.com/efp"><img src="https://img.shields.io/twitter/follow/efp?label=%40efp&style=social&link=https%3A%2F%2Fx.com%2Fefp" alt="x account" /></a>
1616
</p>
1717

astro.config.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { defineConfig } from 'astro/config'
66
import spotlightjs from '@spotlightjs/astro'
77
import starlightLinksValidator from 'starlight-links-validator'
88

9-
const SITE_URL = 'https://docs.ethfollow.xyz/'
9+
const SITE_URL = 'https://docs.efp.app/'
1010

1111
// https://astro.build/config
1212
export default defineConfig({
@@ -33,7 +33,7 @@ export default defineConfig({
3333
},
3434
social: {
3535
github: 'https://github.com/ethereumfollowprotocol',
36-
discord: 'https://discord.ethfollow.xyz',
36+
discord: 'https://discord.efp.app',
3737
'x.com': 'https://x.com/efp'
3838
},
3939
locales: {
@@ -201,7 +201,7 @@ export default defineConfig({
201201
},
202202
{
203203
label: 'Forum',
204-
link: 'https://forum.ethfollow.xyz/'
204+
link: 'https://forum.efp.app/'
205205
},
206206
{
207207
label: 'Discord',
@@ -269,15 +269,15 @@ export default defineConfig({
269269
attrs: {
270270
name: 'twitter:domain',
271271
property: 'twitter:domain',
272-
content: 'ethfollow.xyz'
272+
content: 'efp.app'
273273
}
274274
},
275275
{
276276
tag: 'meta',
277277
attrs: {
278278
name: 'twitter:url',
279279
property: 'twitter:url',
280-
content: 'https://ethfollow.xyz'
280+
content: 'https://efp.app'
281281
}
282282
},
283283
{

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"typed-query-selector": "^2.11.0",
5252
"typescript": "^5.3.3"
5353
},
54-
"homepage": "https://docs.ethfollow.xyz",
54+
"homepage": "https://docs.efp.app",
5555
"sideEffects": false,
5656
"private": true
5757
}

src/content/docs/api/Token/metadata.mdx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@
44
---
55

66
#### /token/metadata/\:token_id
7-
Get NFT metadata for a specified token id
7+
8+
Get NFT metadata for a specified token id
89

910
#### Sample Query
11+
1012
```sh
1113
curl https://api.ethfollow.xyz/api/v1/token/metadata/4
1214
```
@@ -17,7 +19,7 @@ curl https://api.ethfollow.xyz/api/v1/token/metadata/4
1719
"name": "EFP List #4",
1820
"description": "Ethereum Follow Protocol (EFP) is an onchain social graph protocol for Ethereum accounts.",
1921
"image": "https://api.ethfollow.xyz/api/v1/token/image/3",
20-
"external_url": "https://ethfollow.xyz/3",
22+
"external_url": "https://efp.app/3",
2123
"attributes": [
2224
{
2325
"trait_type": "User",
@@ -53,4 +55,4 @@ curl https://api.ethfollow.xyz/api/v1/token/metadata/4
5355
}
5456
]
5557
}
56-
```
58+
```

src/content/docs/api/Users/ens.mdx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,15 @@
44
---
55

66
### /users/\:addressOrENS/ens
7-
Get the ENS data of a user by their address or ENS name.
7+
8+
Get the ENS data of a user by their address or ENS name.
89

910
#### Path Parameters
11+
1012
- `addressOrENS` (string): The address or ENS name of the account.
1113

1214
#### Sample Query
15+
1316
```sh
1417
curl https://api.ethfollow.xyz/api/v1/users/brantly.eth/ens
1518
```
@@ -32,9 +35,9 @@ curl https://api.ethfollow.xyz/api/v1/users/brantly.eth/ens
3235
"location": "USA",
3336
"name": "Brantly Millegan",
3437
"org.telegram": "brantlymillegan",
35-
"url": "https://ethfollow.xyz/"
38+
"url": "https://efp.app/"
3639
},
3740
"updated_at": "2024-09-18T03:40:58.807Z"
3841
}
3942
}
40-
```
43+
```

src/content/docs/api/intro.mdx

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ If you are a developer, you are free to use this endpoint to retrieve EFP data.
1515

1616
### Commonly used endpoints
1717

18-
- [User Stats](https://docs.ethfollow.xyz/api/users/stats/): the follower and following counts of a particular user
19-
- [User Following](https://docs.ethfollow.xyz/api/users/following/): list of the accounts a particular user follows
20-
- [User Followers](https://docs.ethfollow.xyz/api/users/followers/): list of the accounts that follow a particular user
21-
- [User ENS data](https://docs.ethfollow.xyz/api/users/ens/): the ENS data for a particular user
18+
- [User Stats](https://docs.efp.app/api/users/stats/): the follower and following counts of a particular user
19+
- [User Following](https://docs.efp.app/api/users/following/): list of the accounts a particular user follows
20+
- [User Followers](https://docs.efp.app/api/users/followers/): list of the accounts that follow a particular user
21+
- [User ENS data](https://docs.efp.app/api/users/ens/): the ENS data for a particular user
2222

2323
### Self-hosting
2424

@@ -29,20 +29,18 @@ You may also fork EFP's Indexer/API source code and deploy yourself.
2929

3030
### KV cache
3131

32-
The API uses Cloudflare KV storage to cache some endpoint's responses. When one of these
33-
endpoints is called the cache is checked and if there is no record the data is fetched from
34-
the database. If a cached record is found it is returned immediately. All cache records
35-
are set to expire 5 minutes after they are created.
32+
The API uses Cloudflare KV storage to cache some endpoint's responses. When one of these endpoints is called the cache is checked and if there is no record the data is fetched from the database. If a cached record is found it is returned immediately. All cache records are set to expire 5 minutes after they are created.
3633

37-
The cached record for each of these endpoints can be refreshed by adding `cache=fresh` to the
38-
query params. For example:
34+
The cached record for each of these endpoints can be refreshed by adding `cache=fresh` to the query params. For example:
3935

4036
Get the cached record
37+
4138
```sh
4239
curl https://api.ethfollow.xyz/api/v1/lists/1/details
4340
```
4441

4542
Get latest data and reset the cached record
43+
4644
```sh
4745
curl https://api.ethfollow.xyz/api/v1/lists/1/details?cache=fresh
4846
```

src/content/docs/design/glossary.mdx

Lines changed: 52 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3,79 +3,105 @@ title: Glossary
33
---
44

55
**Account** (or **Ethereum account**)
6-
>An EVM account. There are no "EFP accounts".
6+
7+
> An EVM account. There are no "EFP accounts".
78
89
**Account Metadata**
9-
> EFP provides an Account Metadata contract that allows users to set EFP-related metadata specific to their Ethereum account, such as identifying the Primary List for that Ethereum account. (see [Account Metadata](https://docs.ethfollow.xyz/design/account-metadata/))
10+
11+
> EFP provides an Account Metadata contract that allows users to set EFP-related metadata specific to their Ethereum account, such as identifying the Primary List for that Ethereum account. (see [Account Metadata](https://docs.efp.app/design/account-metadata/))
1012
1113
**Address** (or **Ethereum address**)
12-
>An EVM address (e.g. 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045). There are no "EFP addresses".
14+
15+
> An EVM address (e.g. 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045). There are no "EFP addresses".
1316
1417
**Block**
15-
>A standard tag that means neither the user nor the blocked account should see each other’s activity in a relevant app; lists with this tag are not included in Followers count, even if the list tags the account with other tags; if both “block” and “mute” tags are present, “block” takes precedence. (see [Tags](https://docs.ethfollow.xyz/design/tags/))
18+
19+
> A standard tag that means neither the user nor the blocked account should see each other’s activity in a relevant app; lists with this tag are not included in Followers count, even if the list tags the account with other tags; if both “block” and “mute” tags are present, “block” takes precedence. (see [Tags](https://docs.efp.app/design/tags/))
1620
1721
**EFP app**
18-
>Web app that enables someone to create and manage a List on EFP. (see [EFP website](https://ethfollow.xyz/))
22+
23+
> Web app that enables someone to create and manage a List on EFP. (see [EFP website](https://efp.app/))
1924
2025
**Ethereum Follow Protocol** (or **EFP**)
21-
>An onchain social graph protocol for Ethereum accounts. The protocol whose docs you are currently reading. (see [EFP website](https://ethfollow.xyz/))
26+
27+
> An onchain social graph protocol for Ethereum accounts. The protocol whose docs you are currently reading. (see [EFP website](https://efp.app/))
2228
2329
**Ethereum Name Service** (or **ENS**)
24-
>A distributed, open, and extensible naming system based on the Ethereum blockchain. EFP is designed to complement ENS, and the EFP web app makes extensive use of ENS for names, avatar, and other profile data. (see [ENS website](https://ens.domains/))
30+
31+
> A distributed, open, and extensible naming system based on the Ethereum blockchain. EFP is designed to complement ENS, and the EFP web app makes extensive use of ENS for names, avatar, and other profile data. (see [ENS website](https://ens.domains/))
2532
2633
**Followers**
27-
>The total number of Primary Lists that follow a particular Ethereum account, excluding lists that tag them with "block" or "mute".
34+
35+
> The total number of Primary Lists that follow a particular Ethereum account, excluding lists that tag them with "block" or "mute".
2836
2937
**Following**
30-
>The total number of Ethereum accounts followed by a list, excluding accounts tagged with "block" or "mute".
38+
39+
> The total number of Ethereum accounts followed by a list, excluding accounts tagged with "block" or "mute".
3140
3241
**List**
33-
>An NFT in the EFP List Registry and its accompanying List Storage Location data.
42+
43+
> An NFT in the EFP List Registry and its accompanying List Storage Location data.
3444
3545
**List Metadata**
36-
>Metadata for a list, stored alongside List Records in a list's List Storage Location, that specifies the Ethereum accounts set for the roles Manager and User.
46+
47+
> Metadata for a list, stored alongside List Records in a list's List Storage Location, that specifies the Ethereum accounts set for the roles Manager and User.
3748
3849
**List Number**
39-
>The token ID for the NFT that represents a list.
50+
51+
> The token ID for the NFT that represents a list.
4052
4153
**List Ops** (or **List Operation**)
42-
>The same as a **List Record**; An operation performed on an EFP List, such as appending a list record (for following a particular Ethereum account, unfollowing, tagging, untagging).
54+
55+
> The same as a **List Record**; An operation performed on an EFP List, such as appending a list record (for following a particular Ethereum account, unfollowing, tagging, untagging).
4356
4457
**List Records**
45-
>The set of list operations stored at your List Storage Location. (see [List Records](https://docs.ethfollow.xyz/design/list-records/))
58+
59+
> The set of list operations stored at your List Storage Location. (see [List Records](https://docs.efp.app/design/list-records/))
4660
4761
**List Registry**
48-
>An Ethereum ERC-721 contract where the NFT represents ownership of a particular list.
62+
63+
> An Ethereum ERC-721 contract where the NFT represents ownership of a particular list.
4964
5065
**List Settings**
51-
>A term used in the EFP app that refers to a variety of settings for a list, including: the list's List Storage Location; whether the list is set as a Primary List; the Ethereum accounts set for the roles Owner, Manager, and User.
66+
67+
> A term used in the EFP app that refers to a variety of settings for a list, including: the list's List Storage Location; whether the list is set as a Primary List; the Ethereum accounts set for the roles Owner, Manager, and User.
5268
5369
**List Storage Location**
54-
>Where the records for a list are stored. (see [List Storage Location](https://docs.ethfollow.xyz/design/list-storage-location/))
70+
71+
> Where the records for a list are stored. (see [List Storage Location](https://docs.efp.app/design/list-storage-location/))
5572
5673
**Manager**
57-
>The Ethereum account that can edit a list's records. By default when a list is created, all three roles (Owner, Manager, and User) are set as the Ethereum account that created the list. Typically, all three roles remain the same account, but they can be changed to be different. (see [Roles](https://docs.ethfollow.xyz/design/roles/))
74+
75+
> The Ethereum account that can edit a list's records. By default when a list is created, all three roles (Owner, Manager, and User) are set as the Ethereum account that created the list. Typically, all three roles remain the same account, but they can be changed to be different. (see [Roles](https://docs.efp.app/design/roles/))
5876
5977
**Mute**
60-
> A standard tag that means the user shouldn’t see the muted account’s activity in a relevant app, but the muted account might still be able to see the user’s activity; lists with this tag are not included in Followers count, even if the list tags the account with other tags; if both “block” and “mute” tags are present, “block” takes precedence. (see [Tags](https://docs.ethfollow.xyz/design/tags/))
78+
79+
> A standard tag that means the user shouldn’t see the muted account’s activity in a relevant app, but the muted account might still be able to see the user’s activity; lists with this tag are not included in Followers count, even if the list tags the account with other tags; if both “block” and “mute” tags are present, “block” takes precedence. (see [Tags](https://docs.efp.app/design/tags/))
6180
6281
**Mutuals**
63-
>Ethereum accounts that an Ethereum account follows who follow them back.
82+
83+
> Ethereum accounts that an Ethereum account follows who follow them back.
6484
6585
**Owner**
66-
>The Ethereum account that ultimately controls a List. By default when a list is created, all three roles (Owner, Manager, and User) are set as the Ethereum account that created the list. Typically, all three roles remain the same account, but they can be changed to be different. (see [Roles](https://docs.ethfollow.xyz/design/roles/))
86+
87+
> The Ethereum account that ultimately controls a List. By default when a list is created, all three roles (Owner, Manager, and User) are set as the Ethereum account that created the list. Typically, all three roles remain the same account, but they can be changed to be different. (see [Roles](https://docs.efp.app/design/roles/))
6788
6889
**Primary List**
69-
>The one list an Ethereum account has confirmed to represent who they follow. While an Ethereum account may have roles in more than one list, an Ethereum account can only have one Primary List. Only Primary Lists count as Followers. (see [Account Metadata](https://docs.ethfollow.xyz/design/account-metadata/))
90+
91+
> The one list an Ethereum account has confirmed to represent who they follow. While an Ethereum account may have roles in more than one list, an Ethereum account can only have one Primary List. Only Primary Lists count as Followers. (see [Account Metadata](https://docs.efp.app/design/account-metadata/))
7092
7193
**Social Graph**
72-
>The sum total of relationships between Ethereum accounts held in EFP, counting only Primary Lists. Any list that is not set as a Primary List is not included.
94+
95+
> The sum total of relationships between Ethereum accounts held in EFP, counting only Primary Lists. Any list that is not set as a Primary List is not included.
7396
7497
**Tag**
75-
>A Tag is a string associated with a List Record in an EFP list. Tags only count for an account if that account is also followed by the user, otherwise they're not counted. List Records can have zero or more tags. A few tags are standardized with specified semantics. Users may also set custom tags. (see [Tags](https://docs.ethfollow.xyz/design/tags/))
98+
99+
> A Tag is a string associated with a List Record in an EFP list. Tags only count for an account if that account is also followed by the user, otherwise they're not counted. List Records can have zero or more tags. A few tags are standardized with specified semantics. Users may also set custom tags. (see [Tags](https://docs.efp.app/design/tags/))
76100
77101
**Top8** (or, **Top 8**)
78-
>The tag "top8" means the account should appear in the user's "Top 8" in UIs that support it. If a user has more than eight followed accounts with the "top8" tag, then only show the eight most recent should be included in a "Top 8" displayed in a UI. (see [Tags](https://docs.ethfollow.xyz/design/tags/))
102+
103+
> The tag "top8" means the account should appear in the user's "Top 8" in UIs that support it. If a user has more than eight followed accounts with the "top8" tag, then only show the eight most recent should be included in a "Top 8" displayed in a UI. (see [Tags](https://docs.efp.app/design/tags/))
79104
80105
**User**
81-
>The Ethereum account for whom the list is intended; the Ethereum account that is following the Ethereum accounts in the list. By default when a list is created, all three roles (Owner, Manager, and User) are set as the Ethereum account that created the list. Typically, all three roles remain the same account, but they can be changed to be different. (see [Roles](https://docs.ethfollow.xyz/design/roles/))
106+
107+
> The Ethereum account for whom the list is intended; the Ethereum account that is following the Ethereum accounts in the list. By default when a list is created, all three roles (Owner, Manager, and User) are set as the Ethereum account that created the list. Typically, all three roles remain the same account, but they can be changed to be different. (see [Roles](https://docs.efp.app/design/roles/))

0 commit comments

Comments
 (0)