Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
MinaData simplifies the retrieval of transaction data on the Mina blockchain. In doing so, it directly fetches data through the native GraphQL interfaces of the Archive Node. MinaData aims to assist you in quickly launching user interfaces.
MinaData simplifies the retrieval of transaction data on the Mina blockchain. In doing so, it directly fetches data through the native GraphQL interfaces of the Archive Node. MinaData aims to assist you in quickly launching user interfaces.
node
npm init -y
npm i minadata
index.mjs
import { MinaData } from 'minadata'
const minaData = new MinaData()
minaData.init( {
'network': 'berkeley'
} )
minaData.getData( {
'preset': 'transactionByHash',
'userVars': {
'hash': '5Ju7HSdjQcPpgzkjECVdmErhuri3VMLm2N7b4z2mB6kMbbKnFHx1'
},
'network': 'berkeley'
} )
Name | Description | Type | Required | Default |
---|---|---|---|---|
hash | Transaction hash | string | true | 5Ju7HSdjQcPpgzkjECVdmErhuri3VMLm2N7b4z2mB6kMbbKnFHx1 |
Name | Description | Type | Required | Default |
---|---|---|---|---|
blockHeight_lt | Highest block | number | false | 999999999 |
Name | Description | Type | Required | Default |
---|---|---|---|---|
limit | Limit | number | false | 10 |
Name | Description | Type | Required | Default |
---|---|---|---|---|
limit | Limit | number | false | 10 |
blockHeight_lt | Highest block | number | false | 999999999 |
creator | BTC address | string | true | B62qnLVz8wM7MfJsuYbjFf4UWbwrUBEL5ZdawExxxFhnGXB6siqokyM |
Example:
minaData.getData( {
'preset': ' latestEventsFromContract',
'userVars': {
'creator': 'B62qnLVz8wM7MfJsuYbjFf4UWbwrUBEL5ZdawExxxFhnGXB6siqokyM'
},
'network': 'berkeley'
})
Please visit https://easymina.github.io/minadata
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Your MinaData Project</title>
</head>
<body>
<script type="module">
import { MinaData } from 'https://unpkg.com/minadata@latest/dist/MinaData.js'
const minaData = new MinaData()
minaData.init( {} )
minaData
.getData( {
'preset': 'transactionByHash',
'userVars': {
'hash': '5Ju7HSdjQcPpgzkjECVdmErhuri3VMLm2N7b4z2mB6kMbbKnFHx1'
},
'network': 'berkeley'
} )
.then( result => {
console.log( `Here is the result ${JSON.stringify( result )}` )
} )
</script>
</body>
</html>
Create new dist
npx webpack --config webpack.config.js
The module is available as open source under the terms of the Apache 2.0.
FAQs
MinaData simplifies the retrieval of transaction data on the Mina blockchain. In doing so, it directly fetches data through the native GraphQL interfaces of the Archive Node. MinaData aims to assist you in quickly launching user interfaces.
The npm package minadata receives a total of 16 weekly downloads. As such, minadata popularity was classified as not popular.
We found that minadata demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.