User Authentication
The code sample below shows how you can use your email and password to authenticate with the SDK.
- Javascript
- Python
const jsc8 = require("jsc8");
const client = new jsc8({url: "https://play.paas.macrometa.io", token: "", fabricName: '_system'});
async function login() {
return await client.login("nemo@nautilus.com", "xxxxxx")}
from c8 import C8Client
client = C8Client(protocol='https', host='play.paas.macrometa.io', port=443,
email='nemo@nautilus.com', password='xxxxxx')