SimpleID Node SDK

node v10.16.3
version: 1.0.0
endpointsharetweet
const simple = require('simpleid-node-sdk'); const uniqueName = `username_${Date.now()}`; const config = { apiKey: "-LmCb96-TquOlN37LpM0", devId: "imanewdeveloper", authProviders: ['blockstack', 'ethereum', 'textile'], storageProviders: ['blockstack', 'ipfs'], appOrigin: "https://yourapp.com", scopes: ['publish_data', 'store_write', 'email'], development: true } const account = await simple.createUserAccount({ id: uniqueName, password: "super secure password", hubUrl: "https://hub.blockstack.org", email: "fakeemail@fakeemail.com" }, config); //Click run to create a new test user account and login
Loading…

no comments

    sign in to comment