Selfi Social - Standards
Special display for Selfi Social
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) |
Last updated