Skip to content

nerfZael/pwr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

Rust version

Installation

Run the following command in the terminal:

curl -L https://raw.githubusercontent.com/polywrap/pwr/main/pwrup/install | bash

Which will install pwrup.

Then, to install pwr, run:

pwrup

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 48.3%
  • Rust 29.9%
  • Shell 15.9%
  • JavaScript 5.9%