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.
evm-call-method
Advanced tools
Coming soon...
Module to fetch information from readable evm smart contract methods. Mainly build for ERC721 Methods like tokenURI(n), name() and symbol() ...
Expect an Objects. Every Object is one address, every address can have multiple methods to call.
npm i nft-token-uri
npm i dotenv
require( 'dotenv' ).config( { path: '.env' } )
const { tokenURI } = require( 'nft-meta-data' )
let cmd = {
'cmd': 253
'address': '0xFF9C1b15B16263C61d017ee9F65C50e4AE0113D7',
'network': 'homestead',
'etherscan_api_key': process.env.ETHERSCAN_API_KEY,
'infura_project_id': process.env.INFURA_PROJECT_ID,
'infura_project_secret': process.env.INFURA_PROJECT_SECRET,
'silent': false,
'shrink': true
}
tokenURI( cmd )
.then( ( results ) => {
data = { 'data': results }
content = JSON.stringify( results, null, 4 )
console.log( content )
} )
Expect an Array of Objects. Every Object is one address, every address can have multiple methods to call.
npm i nft-token-uri
npm i dotenv
require( 'dotenv' ).config( { path: '.env' } )
const { tokenURIs } = require( 'nft-token-uri' )
let config = {
'cmd': null,
'address': null,
'network': 'homestead',
'etherscan_api_key': process.env.ETHERSCAN_API_KEY,
'infura_project_id': process.env.INFURA_PROJECT_ID,
'infura_project_secret': process.env.INFURA_PROJECT_SECRET,
'silent': false,
'shrink': true
}
tests = [
{
"name": "Anchor Certificate",
"address": "0x600a4446094C341693C415E6743567b9bfc8a4A8"
"cmd": "40304442284165873759735888198141729455299047240663990062446596565539534752893" //uint256 as "string"
},
{
"name": "Loot",
"address": "0xFF9C1b15B16263C61d017ee9F65C50e4AE0113D7"
"cmd": 253 // short for tokenURI(253)
},
]
adresses = tests.map( ( test ) => {
config['cmd'] = [ test['cmd], 'name()', 'symbol()' ]
config['address'] = test['address']
return config
} )
tokenURIs( adresses )
.then( ( results ) => {
JSON.stringify( results, null, 4 )
} )
Input
Type | Required | Description | Example | Description |
---|---|---|---|---|
**** | `````` |
Bug reports and pull requests are welcome on GitHub at https://github.com/a6b8/nft-token-uri-for-nodejs. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the nft-token-uri-for-nodejs project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.
FAQs
Coming soon...
The npm package evm-call-method receives a total of 0 weekly downloads. As such, evm-call-method popularity was classified as not popular.
We found that evm-call-method 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.
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.