Porter can be described as the “Infura for TACo”. Porter is a web-based service that performs TACo-based protocol operations for applications.
Its goal is to simplify and abstract the complexities surrounding the TACo protocol to negate the need for applications to interact with it via a Python client. Porter introduces the TACo protocol to cross-platform functionality, including web and mobile applications.
- HTTPS: To run the Porter service over HTTPS, it will require a TLS key and a TLS certificate.
- Authentication: Usage restriction via authentication protocols, e.g. basic authentication etc.
By default, Porter runs on port
- 1.Get the latest
porterimage$ docker pull nucypher/porter:latest
- 2.Run Porter HTTP Service on port 80$ docker run -d --rm \--name porter \-v ~/.local/share/nucypher/:/root/.local/share/nucypher \-p 80:9155 \--restart=unless-stopped \nucypher/porter:latest \nucypher porter run \--eth-provider <YOUR WEB3 PROVIDER URI> \--network <NETWORK NAME>The command above is for illustrative purposes and can be modified as necessary.
- 3.Porter will be available on default port 80 (HTTP)
- 4.View Porter logs$ docker logs -f porter
- 5.Stop Porter service$ docker stop porter