0.0.23 • Published 5 months ago

soleasy v0.0.23

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

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

0.0.20

5 months ago

0.0.21

5 months ago

0.0.10

5 months ago

0.0.22

5 months ago

0.0.11

5 months ago

0.0.23

5 months ago

0.0.12

5 months ago

0.0.13

5 months ago

0.0.14

5 months ago

0.0.15

5 months ago

0.0.9

5 months ago

0.0.16

5 months ago

0.0.8

5 months ago

0.0.17

5 months ago

0.0.18

5 months ago

0.0.19

5 months ago

0.0.5

5 months ago

0.0.7

5 months ago

0.0.6

5 months ago

0.0.4

9 months ago

0.0.3

9 months ago

0.0.1

9 months ago