Gathering detailed insights and metrics for mixin-node
Gathering detailed insights and metrics for mixin-node
Gathering detailed insights and metrics for mixin-node
Gathering detailed insights and metrics for mixin-node
npm install mixin-node
Typescript
Module System
Min. Node Version
Node Version
NPM Version
71.1
Supply Chain
96.4
Quality
76.1
Maintenance
100
Vulnerability
97.3
License
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
40 Stars
136 Commits
11 Forks
6 Watchers
4 Branches
5 Contributors
Updated on May 16, 2025
Latest Version
2.7.2
Package Id
mixin-node@2.7.2
Unpacked Size
51.77 kB
Size
12.80 kB
File Count
12
NPM Version
9.7.2
Node Version
20.4.0
Published on
Jul 12, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
The nodejs SDK for mixin.one
This project is a pure ES6 module since version 2.
This project requires Node.js v18 or above since version 2.5.
This project now fully supports the new Ed25519 session.
1npm install mixin-node --save
1import mixinjs from 'mixin-node'; 2 3const opts = { 4 pin : "854423", 5 client_id : "**********095-4960-8dd1-edf6e583a2a9", 6 session_id : "a335e1e3-eb33-4112-b30a-2ae287dfbe32", 7 pin_token : "*****DEN7P3k172oBLW3g/TUZa6Xa5MrgOOzKfXdv5A=", 8 private_key : "*****-*******************************************************", 9}; 10 11const mixin = new mixinjs(opts); 12const asset_id = "965e5c6e-434c-3fa9-b780-c50f43cd955c"; //CNB 13const recipient_id = "*************-4152-9c5a-839d286f7e4f"; //User Account ID 14const amount = "100"; 15const memo ="test transfer" 16 17mixin.transferFromBot(asset_id, recipient_id, amount, memo).then(console.log).catch(console.error);
1mixin.onMessage = (data) => { 2 mixin.decode(data).then(function(msgobj){ 3 return processing(msgobj); 4 }).then(function(msgobj){ 5 mixin.sendMsg("LIST_PENDING_MESSAGES").then(function(receipt_id){ 6 console.log("list receipt_id:"+receipt_id); 7 }); 8 mixin.sendText("my text",msgobj).then(function(receipt_id){ 9 console.log("text message receipt_id:"+receipt_id); 10 }); 11 let authLink = "https://mixin.one/oauth/authorize?client_id=" + config.mixin.client_id + "&scope=PROFILE:READ"; 12 let btn = '[{"label":"auth","action":"' + authLink+ '","color":"#ff0033"}]' 13 mixin.sendButton(btn, msgobj).then(function(result){ 14 console.log(result); 15 }); 16 }); 17});
1mixin.requestAccessToken(code).then(console.log);
1npm install mixin-node --save
1import mixinjs from 'mixin-node'; 2 3const opts = { 4 pin : "854423", 5 client_id : "**********095-4960-8dd1-edf6e583a2a9", 6 session_id : "a335e1e3-eb33-4112-b30a-2ae287dfbe32", 7 pin_token : "*****DEN7P3k172oBLW3g/TUZa6Xa5MrgOOzKfXdv5A=", 8 private_key : "*****-*******************************************************", 9}; 10 11const mixin = new mixinjs(opts); 12const asset_id = "965e5c6e-434c-3fa9-b780-c50f43cd955c"; //CNB 13const recipient_id = "*************-4152-9c5a-839d286f7e4f"; //User Account ID 14const amount = "100"; 15const memo ="test transfer" 16 17mixin.transferFromBot(asset_id, recipient_id, amount, memo).then(console.log).catch(console.error);
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 1/26 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More