10000 GitHub - vabaly/ink-validator: An tool to check whether a compiled ink contract is valid to be upload to the chain
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

An tool to check whether a compiled ink contract is valid to be upload to the chain

License

Notifications You must be signed in to change notification settings

vabaly/ink-validator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ink-validate

ink-validate is a command line tool to validate ink contracts.

Installation

To install ink-validate, you can clone the repository and build the tool using cargo:

git clone https://github.com/Phala-Network/ink-validator.git
cd ink-validator/cli
cargo install --path .

Example

To validate a contract called "contract.wasm", use the following command:

ink-validate contract.wasm

To validate a contract called "contract.wasm" and allow indeterministic instructions, use the following command:

ink-validate -i contract.wasm

Or you can visit https://phala-network.github.io/ink-validator/ to use the live version which is compiled to WASM.

License

ink-validate is released under the MIT License.

About

An tool to check whether a compiled ink contract is valid to be upload to the chain

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 89.2%
  • HTML 7.4%
  • JavaScript 2.7%
  • Other 0.7%
0