Selfi Social - Standards
Special display for Selfi Social
Last updated
Special display for Selfi Social
Last updated
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.
You should only implement ONE of these methods only
Method Name | Arguments And Type | |
---|---|---|
Metadata | Key Type | Value Type |
---|---|---|
Metadata | Key Type | Value Type | Description |
---|---|---|---|
Metadata | Key Type | Value Type | Description |
---|---|---|---|
add_stake
Bucket
stake
Bucket
Option<Proof>
stake_component
String
Address
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)
social_urls
String
UrlArray
An array of all social media for a given resource (fungible/non-fungible)