Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nft-token-uri

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nft-token-uri

  • 0.0.1
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source
# Headline

Short Description Text


Examples


Table of Contents

  1. Quickstart
  2. Parameters
  3. Options
  4. Contributing
  5. Limitations
  6. Credits
  7. License
  8. Code of Conduct
  9. Support my Work


Quickstart
npm i nft-token-uri
npm i dotenv
require( 'dotenv' ).config( { path: '../.env' } )
const { NFT, tokenURI, tokenURIs } = require( './src/token_uri.js' )

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)
    },
]

cmds = tests.map( ( test ) => { 
    config['cmd'] = test['cmd]
    config['address'] = test['address']
    return config
} )


tokenURIs( cmds )
.then( ( results ) => {
    JSON.stringify( results, null, 4 )
} )


Setup

Add this line to your application's Gemfile:

gem '[RUBY_GEM]'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install [RUBY_GEM]

On Rubygems:



Methods

.example()

    require 'local_path_builder'

    hash = Template.example( 
        headline, 
        console_mode,  
        options 
    )

Input

TypeRequiredDescriptionExampleDescription
headlineStringYes"Test"Define path structure
console modeSymbolYes:hashSet test console output mode. Use :silent, :hash, :path or :both
saltStringNo123Use test salt to create unique filenames.

Return
Hash



Options

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[GITHUB_USERNAME]/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.


Limitations

  • Test


Credits
  • Test


License

The gem is available as open source under the terms of the MIT License.


Code of Conduct

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.


Support my Work

Donate by https://www.paypal.com

Keywords

FAQs

Package last updated on 24 Dec 2021

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc