Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
blockstarter-wl
Advanced tools
This is library helps to integrate blockstarter with client's dashboard
npm i blockstarter-wl
First of all define a storage
var storage = {
sessionId: null,
apiKey: 'TEST-APIKEY',
dashboard: null
};
Login or Register
var blockstarter = require('blockstarter-wl');
if (storage.apiKey == null) {
throw "API Key is required";
}
blockstarter.auth({
email: 'test@test.com',
password: 'unique password',
project: 'KickCity',
reference: 'traffic-source',
apiKey: storage.apiKey
}, function(err, session){
if (err != null) {
throw err;
}
if (session.sessionId == null) {
throw "Session ID is missing";
}
storage.sessionId = session.sessionId;
console.log(session.sessionId);
});
if (storage.apiKey == null) {
throw "API Key is required";
}
var request = {
apiKey: storage.apiKey,
transport: "postmaster@test.mailgun.org",
returnUrl: "http://restore-password.com" //server will invoke http://restore-password.com?restore-key=SOME_RANDON_KEY
}
blockstarter.forgotPassword(request, function(err, dashboard){
if (err != null) {
throw err;
}
console.log("done");
});
User obtains email message with restore password link
and then user fills the form.
You should obtain restore-key
from query params and send it to the server
if (storage.apiKey == null) {
throw "API Key is required";
}
var request = {
apiKey: storage.apiKey,
newPassword: "newPassword",
transport: "postmaster@test.mailgun.org",
restoreKey: "Obtain restore key from ?restore-key=SOME_RANDON_KEY"
}
blockstarter.resetPassword(request, function(err, dashboard){
if (err != null) {
throw err;
}
console.log("done");
});
Information about Totals, Rates, Currencies, etc. in order to build a main screen where contributor can
if (storage.sessionId == null) {
throw "Session is required";
}
if (storage.apiKey == null) {
throw "API Key is required";
}
blockstarter.panel(storage, function(err, dashboard){
if (err != null) {
throw err;
}
storage.dashboard = dashboard;
console.log(dashboard);
});
Get [btc, ltc, eth, waves, dash, zec] address
if (storage.sessionId == null) {
throw "Session is required";
}
if (storage.apiKey == null) {
throw "API Key is required";
}
if (storage.dashboard == null) {
throw "Dashboard is required";
}
var request = {
sessionId: storage.sessionId,
apiKey: storage.apiKey,
dashboard: storage.dashboard,
type: 'ltc'
}
blockstarter.address(request, function(err, addressInfo){
if (err != null) {
throw err;
}
console.log(addressInfo);
});
User can ask for help and admin will contact him by email
if (storage.sessionId == null) {
throw "Session is required";
}
if (storage.apiKey == null) {
throw "API Key is required";
}
blockstarter.helpMe(storage, function(err, info){
if (err != null) {
throw err;
}
console.log('done')
});
Get list of contributors for administrator
if (storage.apiKey == null) {
throw "API Key is required";
}
var request = {
apiKey: storage.apiKey,
project: "KickCity"
}
blockstarter.contributors(request, function(err, list){
if (err != null) {
throw err;
}
console.log(list)
});
FAQs
Blockstarter white-label API for integration
The npm package blockstarter-wl receives a total of 5 weekly downloads. As such, blockstarter-wl popularity was classified as not popular.
We found that blockstarter-wl demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.