Developers
{r}elinkd is excited for onboarding developers so if you are willing to integrate {r}elinkd or build on top - feel free to reach out in our community chats
{r}elinkd profile is based on 3 types of smart contracts that empower the blockchain-based nature of the product.
RelinkdDomain.sol - ERC721 token contract with the ability to create domains (means: mint tokens).
getDomainInfo
Parameters
name
string
domain name
Returns
busy
bool
true - domain is busy, else - false
linkedProfile
address
linked profile contract address
owner
address
owner address
tokenId
uint256
id of domain NFT
RelinkdProfile.sol - contract with single owner, gets an ability to construct own Web3-profile and mint NFTs with summary of the profile in metadata.
getProfile
method used to get main profile information
Returns
_0
string
style
_1
RelinkdProfile.ProfileBlock[]
blocks array
_2
uint256[]
blocks order array
_3
IStruct.CoversInfo
metadata
Profile contains block structures (for example, Links container):
RelinkdFactory.sol - contract that serves to deploy profiles and to mint domains. Also includes only-admin-access governance methods.
All the profiles are created through the Factory
createProfile
method used to create new profile
Parameters
style
string
style
metadata
IStruct.CoversInfo
metadata for profile NFTs
withDomain
bool
true - link with domain, else - false
tokenId
uint256
tokenId of domain NFT
As part of our product development, we are working to release the {r}SDK that developers can use to connect to the {r}elinkd ecosystem.
Join our private builders chat for early access 👇
Last updated