Roundesk Client
BSV devs using Invisible MoneyButton or RelayX One Wallets, you may allow your users to make signed requests to get one or more Roundesk profiles, public and private.
Usage
async { // list of profiles you want, and the paymail you're asking from. This would usually be your user's paymail which you probably already know from them logging in. const profiles = await roundesk console}
For non paymail signing apps, you can still request public profiles using this tool. In fact you don't need a library for that, simply use:
const paymail = 'ryan@moneybutton.com'const profile = await await
Installation For Apps
npm i roundesk-client --save
or
yarn add roundesk-client
Installation for simple html page
<!-- Include this at the top of your page -->