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

soleasy

Package Overview
Dependencies
Maintainers
0
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

soleasy

Make solidity so easy

  • 0.0.27
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7
decreased by-80%
Maintainers
0
Weekly downloads
 
Created
Source

Getting started

Install soleasy globaly to use in any projects npm install -g soleasy or Install it locally npm install soleasy

The tutorial will explain running globally but if you want to run it locally just use npx before soleasy like: `npx soleasy

Basic commands

genABI

soleasy genABI

If your project uses hardhat, after compile you can use genABI to get specific ABIs, on soleasy.json file in the root of your project. as the following example:

[
  {
    "name": "file",
    "contracts": ["StateMutability","Lock"],
    "abiName": ["STATE_MUTABILITY_ABI","LOCK_ABI"]
  },
  {
    "name": "file2",
    "contracts":["HelloWorld","FurnitureDegen"],
    "abiName":["HELLO_WORLD_ABI","FURNITURE_DEGEN_ABI"]
  }
]

This will generate file.json and file2.json on out directory in the root of your project, with the contracts StateMutability and Lock in the first file with these respective properties STATE_MUTABILITY_ABI and LOCK_ABI, and with the contracts HelloWorld and FurnitureDegenin the second file with these respective properties HELLO_WORLD_ABIand FURNITURE_DEGEN_ABI.

genABIAll

soleasy genABIAll

If your project uses hardhat, after compile you can use genABIAll to get all ABIs of your compile contracts, and save in a file called contracts.json in the out in your project root.

compile

soleasy compile

Will compile using surya and parse to JSON.

More about the development

Video with developement process

Keywords

FAQs

Package last updated on 15 Jul 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