@wraplib/pwr
TypeScript icon, indicating that this package has built-in type declarations

0.3.5 • Public • Published

Polywrap Wrapper Runner (PWR)

Description

Polywrap Wrapper Runner (PWR) is a CLI application for running Polywrap wrappers. It uses the PolywrapClient to execute any wrapper that implements the PwrApp interface wrap://ens/pwr-app.eth

type Module {
  main(args: [String!]!): UInt8!
}

Installation

npm i -g @nerfzael/pwr

Examples:

Input: pwr wrap://ens/wrap-echo.eth Hello world! Output: Hello world!

Input: pwr ens/wrap-echo.eth Hello world! Output: Hello world!

Input: pwr wrap-echo.eth Hello world! Output: Hello world!

Input: pwr wrap://ipfs/QmebzauKAXoYbywLAYdBvKyPhWsDoHfkUC4wffWvjighKT Hello world! Output: Hello world!

Input: pwr ipfs/QmebzauKAXoYbywLAYdBvKyPhWsDoHfkUC4wffWvjighKT Hello world! Output: Hello world!

Input: pwr ipfs://QmebzauKAXoYbywLAYdBvKyPhWsDoHfkUC4wffWvjighKT Hello world! Output: Hello world!

Input: pwr QmebzauKAXoYbywLAYdBvKyPhWsDoHfkUC4wffWvjighKT Hello world! Output: Hello world!

Package Sidebar

Install

npm i @wraplib/pwr

Weekly Downloads

2

Version

0.3.5

License

MIT

Unpacked Size

66.8 kB

Total Files

30

Last publish

Collaborators

  • wraplib