source avataryang🦾🟣

Share

Primus Fund SDK and the Bridge Between Social Accounts and Crypto Payments Crypto can reach a wallet in seconds, but reaching someone who has never used one is a different challenge. A project may want to reward contributors it knows only by their social handles. In a normal token transfer, the sender needs the recipient's blockchain address. That requirement can exclude people who have not yet entered the crypto ecosystem. Primus @primus_labs approaches this onboarding problem through its Fund SDK. It lets an application allocate tokens to social accounts first, then allows the account owner to prove control of that account and claim the funds to a connected wallet. Here's how the whole thing works 👇 Starting with a familiar identifier Instead of collecting a wallet address from every recipient, a project specifies the social platform, the person's identifier, and the amount to allocate. The repository documents support for X usernames, TikTok usernames, Google account email addresses, and RedNote IDs. Tokens are not deposited inside a social media account. The handle identifies the intended recipient in the funding process, while the assets are managed by Primus's fund contract. Creating the allocation A developer integrates the Primus Fund JavaScript SDK and configures the asset being distributed. The SDK supports native tokens and ERC-20 tokens. For an ERC-20 asset, the application also supplies its token contract address. The project then enters each recipient's platform, identifier, and token amount. Once the wallet is connected and the parameters are ready, the SDK's funding function submits a transaction to the fund contract. This creates allocations associated with the selected social accounts. Crucially, the sender does not need to collect every recipient's wallet address before creating the distribution. How the recipient claims The recipient connects a supported wallet and completes a social-account ownership attestation through the Fund SDK. This is where Primus's zkTLS technology enters the process. It helps generate evidence that the claimant controls the social account named in the funding record. The attestation is submitted with the recipient details in the claim transaction. The wallet that completes the attestation and claim receives the tokens. A sender can therefore designate a recipient using a familiar online identifier, while the recipient connects a blockchain address when collecting the funds. The current receiver guide lists MetaMask and Wagmi wallet support and requires the Primus Extension for verification. It also states that the appSecret used for signing must remain on the backend rather than being exposed in frontend code. What happens to unclaimed rewards The Fund SDK documentation describes a 30-day processing period. If allocations remain unclaimed after that period, the sender can initiate a refund transaction for the remaining tokens. Funds do not have to remain locked indefinitely because some recipients never complete the claim process. Why this matters for onboarding Consider an online developer competition. Organisers may know the winners through their X usernames but have no wallet addresses for them. They can allocate rewards to those handles, after which each winner completes the ownership check, connects a compatible wallet, and claims the assigned tokens. Recipients still need a supported wallet and must complete verification. Proving control of a social account does not establish someone's legal identity or prove that the account represents a particular person offline. The important contribution is the bridge between familiar online accounts and blockchain payments. Through the Fund SDK, Primus makes social-account ownership verification part of a token distribution workflow, reducing the need to make wallet setup the first step for every new participant. @primus_labs

No.0 picture
Disclaimer: The information on this page may have been obtained from third parties and does not necessarily reflect the views or opinions of KuCoin. This content is provided for general informational purposes only, without any representation or warranty of any kind, nor shall it be construed as financial or investment advice. KuCoin shall not be liable for any errors or omissions, or for any outcomes resulting from the use of this information. Investments in digital assets can be risky. Please carefully evaluate the risks of a product and your risk tolerance based on your own financial circumstances. For more information, please refer to our Terms of Use and Risk Disclosure.