Skip to main content

Ink Wizard is a CLI tool used to scaffold Flipper, PSP-22, PSP-34, PSP-37 smart contracts. CLI will ask user on what kind of functionality user needs. It will scaffold smart contracts based on user options.

Project description

Ink Wizard

Ink Wizard is a CLI tool used to scaffold Flipper, PSP-22, PSP-34, PSP-37 smart contracts. CLI will ask user on what kind of functionality user needs. It will scaffold smart contracts based on user options.

Ink Wizard uses OpenBrush smart contracts. Once you scaffold smart contracts, you can go to the Open Brush docs: https://docs.openbrush.io/ for further steps.

Installation

You can install ink-wizard either via pip or via homebrew(recommended). If you want to install using pip, it is recommended to use virtualenv.

virtualenv .venv
source .venv/bin/activate
pip install ink-wizard

It you want to install it using homebrew, run the following commands:

brew tap avirajkhare00/homebrew-ink-wizard
brew install ink-wizard

Just type ink-wizard, you are good to go.

Usage

In order to use ink-wizard, you should have cargo-contract installed. Run the following command to install it:

cargo install cargo-contract --version 2.0.0-beta

When a smart contract is scaffolded, you can go to the directory and can run cargo-contract contract build. It will generate .contract, wasm and metadata.json file that you can use.

Testing

You can test it either via running ./test.sh file or you can run tests inside a docker container via docker build . To run tests locally:

virtualenv .venv
pip install -r requirements.txt
./test.sh

Or you can run docker build . to run the tests.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ink-wizard-0.1.6.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ink_wizard-0.1.6-py3-none-any.whl (17.8 kB view details)

Uploaded Python 3

File details

Details for the file ink-wizard-0.1.6.tar.gz.

File metadata

  • Download URL: ink-wizard-0.1.6.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.8.10 Darwin/21.6.0

File hashes

Hashes for ink-wizard-0.1.6.tar.gz
Algorithm Hash digest
SHA256 bb91cceb766754fb959072be1e6fb6294800052142ead5287ed86cb406e3e297
MD5 3b9f1d1733091c84b0868a8a29dd03bf
BLAKE2b-256 4c42749e6b1a4ae4d2d9599eeb086b5ac7f74aaf150b6174fedf90caa179e67f

See more details on using hashes here.

File details

Details for the file ink_wizard-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: ink_wizard-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 17.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.8.10 Darwin/21.6.0

File hashes

Hashes for ink_wizard-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 1e46cb55afa4f07e319f825de0112418ef0d998c0e24b3935bd0d7539df3b691
MD5 c8f9126732e6ef06443931b9652aebce
BLAKE2b-256 afa1b45bf0d2e4a7b0fabd85a56615ab13093313515d048f2235fd5650584908

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page