secret-polar
v0.11.3
Published
Polar is a development environment to compile, deploy, test, run scrt contracts on different networks.
Downloads
183
Maintainers
Readme
Polar
Polar is a development environment to compile, deploy, test, run scrt contracts on different networks efficiently with an enhanced user friendly experience.
Requirements
The minimum packages/requirements are as follows:
- Node 14+
- Yarn v1.22+ or NPM `v6.0+**
- Connection to an Secret node.
Install polar
Installation from released version
To install polar globally in your system you can use:
- Using Yarn:
yarn global add secret-polar
- Using NPM:
npm install -g secret-polar
Usage
Initialize a project
$ polar init <project-name>
This will create a directory inside current directory with boiler-plate code.
Compile the project
Go to project directory:
$ cd <project-name>
Compile the project and generate .wasm
files:
$ polar compile
Run tests
$ yarn run test
Documentation
Check out detailed documentation here.