Skip to content

Instantly share code, notes, and snippets.

@canterberry
Created April 15, 2019 19:29
Show Gist options
  • Save canterberry/53b44bd313cc8d25674c0458fd754f75 to your computer and use it in GitHub Desktop.
Save canterberry/53b44bd313cc8d25674c0458fd754f75 to your computer and use it in GitHub Desktop.
A minimal JavaScript SDK for interacting with Blockmason Link.
@canterberry
Copy link
Author

Usage:

const { message } = await link({ clientId: '<your-client-id>', clientSecret: '<your-client-secret>' }).get('/sayHello');
console.log(message);
// => "Hello, world!"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment