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

jutsu-cli

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jutsu-cli

Jutsu Hub is a solidity smart contract component registry. Developed by [Ame Network](https://ame.network/). All solidity developers can share and use these components, and use it to manage and interact with contract projects.

  • 0.1.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
364
Maintainers
0
Weekly downloads
 
Created
Source

Jutsu Hub

Jutsu Hub is a solidity smart contract component registry. Developed by Ame Network. All solidity developers can share and use these components, and use it to manage and interact with contract projects.

It consists of three parts:

  • Jutsu CLI, a command line tool that you can use to create, install, and publish solidity components.
  • JutsuHub, a website for viewing published component details.
  • Jutsu registry contract, deployed on OP Network mainnet, used to record component information.

Install

npm install jutsu-cli -g

Create a new component

jutsu new <project name>

Project file directory
├ src/
├ .env
├ config.json
├ .gitignore
└ README.md

src
This folder saves your solidity contract files

.envs


#This is a randomly generated wallet
WALLET_ADDRESS=<Wallet Address>
WALLET_PRIVATE_KEY=<Wallet Private Key>

#Please configure your local network    
CUSTOM_RPC=http://127.0.0.1:8545 

#Please register pinata https://pinata.cloud/
PINATA_JWT=<Pinata jwt>

The Pinata API JWT key that is used for uploading Solidity projects to IPFS.
How to register and use pinata jwt

config.json

{
  "name": "your project name",
  "description": "a brief introduction",
  "version": "version number",
  "license": "open source license", 
  "github": "github link"
}

Deploy Contract

jutsu deploy <file path> -a <params> -n <RPC name configured in the .env> `

example:
jutsu deploy ./src/Test.sol -a "alice" 18 -n CUSTOM_RPC

Add Component

jutsu add <packagename>@<version number>

example:
jutsu add ame@1.0.0

Release Component

jutsu publish
Your contract project files will be published to IPFS. Please make sure the wallet configured in your .env file contains a small amount of OP Mainnet ETH to pay the gas fee.

FAQs

Package last updated on 10 Dec 2024

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