-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
48 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
## Here is where important information to be loaded into the emptio p2p app will be included. | ||
|
||
* developers: | ||
Developers, maintainers, or contributors who make contributions to the app's development can have personalized profiles within the app. | ||
This allows them to be available for anyone wishing to suggest changes, report issues, donate BTC, or have direct contact for questions | ||
and other information, thereby facilitating user access to developers and maintainers. | ||
|
||
* securesellers: | ||
Bitcoin sellers considered safe, so that users have direct access to purchasing bitcoin even without following sellers and buyers initially | ||
after creating an account or starting to use the emptio p2p app. These sellers will also be visible to all profiles and therefore must be | ||
considered safe, ensuring a guaranteed purchase for novice users with few contacts. Therefore, they must be validated before being added to this list. | ||
If you want to participate in this list, simply open an issue providing your nostr public key. After some validation processes, | ||
if you are deemed a safe seller, you will be added in the next commits. | ||
|
||
* messages: | ||
Alerts and messages to be displayed to users about the app and any announcements, enabling direct contact with all users in case of security issues or any other app-related problems. | ||
|
||
### Returned JSON Format | ||
` { developers: [developerObjects..], securesellers: [sellerObjects..], messages: [messageObjects..], ... } ` | ||
|
||
### Developer Object Format | ||
` { pubkey: "nostr public key - nip19", hierarchy: 1 } ` | ||
|
||
### Sellers Object Format | ||
` { pubkey: "nostr public key - nip19", hierarchy: 1 } ` | ||
|
||
### Message Object Format | ||
` { type: "alert", message: "hello" } ` | ||
|
||
### Types of Message | ||
|
||
` "alert", "instruction" and "regular" ` | ||
|
||
#### To retrieve the information, simply execute a GET request as shown in the example with curl below | ||
|
||
` curl https://emptioapp.github.io/emptiopubdata/index.json ` |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"developers": [ | ||
{ "pubkey": "npub124rja8qp7dartasr9wdh3kk78phxunzhmq8ar5ryd2anj2qwtcnsz3tuhs", "hierarchy": 1 } | ||
], | ||
"securesellers": [ | ||
{ "pubkey": "npub124rja8qp7dartasr9wdh3kk78phxunzhmq8ar5ryd2anj2qwtcnsz3tuhs", "hierarchy": 1 } | ||
], | ||
"messages": [ | ||
|
||
] | ||
} | ||
|