# Selfi Social - Standards

### Staking Components

In order for staking to show with your token/resource, Selfi Social leverages metadata at the resource and component level. This is what you'll need to add as metadata to show on Selfi Social. Alongside this, your blueprint shape, i.e. the method should also match in order for manifests to be compatible.

#### Stake method Implementation

You should only implement **ONE** of these methods only

| Method Name | Arguments And Type |                |
| ----------- | ------------------ | -------------- |
| add\_stake  | Bucket             |                |
| stake       | Bucket             | Option\<Proof> |

#### Resource Metadata

| Metadata         | Key Type | Value Type |
| ---------------- | -------- | ---------- |
| stake\_component | String   | Address    |

#### Component Metadata

| Metadata       | Key Type | Value Type | Description                                                                                                                        |
| -------------- | -------- | ---------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| name           | String   | String     | Name of staking component (for example, "ASTRL Stake Pool")                                                                        |
| description    | String   | String     |                                                                                                                                    |
| icon\_url      | String   | Url        | Icon for staking component                                                                                                         |
| info\_url      | String   | Url        | Info URL to include  stake mechanics or stake emissions documentation                                                              |
| stake\_receipt | String   | Address    | If method requires an optional proof, make sure to set the resource address of the receipt (assumed to be a non fungible resource) |

### Resource Social URLs

| Metadata     | Key Type | Value Type | Description                                                               |
| ------------ | -------- | ---------- | ------------------------------------------------------------------------- |
| social\_urls | String   | UrlArray   | An array of all social media for a given resource (fungible/non-fungible) |
