New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@owlprotocol/nft-sdk-cli

Package Overview
Dependencies
Maintainers
4
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@owlprotocol/nft-sdk-cli

Developer tool for deploying, introspecting, and managing Owl Protocol's smart contracts

  • 1.1.0
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
4
Weekly downloads
 
Created
Source

Owl Protocol CLI Tool

Developer tool for deploying, introspecting, and managing Owl Protocol's smart contracts

Features

ERC721TopDownDna

  • Initialize a NFT TopDownDna Collection and Output the Metadata JSON for IPFS Upload
  • Generate Randomized NFTs with DNA, including for children NFTs
  • Deploy all common smart contracts, implementations and beacon architecture
  • Deploy multiple TopDownDna NFTs from Item JSON files
  • Detach a child NFT from a parent NFT
  • Attach a NFT to a parent NFT
  • View a NFT's information by tokenId, including DNA and attributes
  • Create a test with a local IPFS, and ganache

AssetRouter

  • Deploy an AssetRouter smart contract for NFT logic

Tutorials

  • Deploying a ERC721TopDownDna

Setup / Install

Configuration

  • .env.[NODE_ENV] - Must be one of .env, .env.development, or .env.test

Must have the NETWORK and HD_WALLET_MNEMONIC, e.g.

NETWORK=ganache
HD_WALLET_MNEMONIC="second supreme disorder tunnel pizza candy lamp elbow special attend accuse agent"
  • config/default.json - network configuration, add other chains here as necessary.

Commands

For example / reference only:

GenerateJsonSchema

node dist/index.cjs generateJsonSchema collections.js --project=projects/example-omo

GenerateRandomNFT

node dist/index.cjs generateRandomNFT collections.js 3 --project=projects/example-omo

Deploy Common

node dist/index.cjs deployCommon

Deploy and Mint NFTs

node dist/index.cjs deployTopDown --projectFolder=projects/example-omo --deployCommon=true --debug=true

View NFT

node dist/index.cjs viewTopDown --root=0xE56ce67A412417c1a3dE60026cBe59477B230338 --tokenId=1 --debug=true

Detach Child NFT

node dist/index.cjs detachTopDown --root=0xC627f2756822dFEc6fB81615340FA133129bE19d -c 0x6b42e97a042AECdd27c8798F9cd5b8C860C423FC --tokenId=1

FAQs

Package last updated on 30 Mar 2023

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