Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@verto/deploy

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@verto/deploy

Deploy Sapper apps on Arweave with ease

  • 1.0.2-beta
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Verto deploy

CLI tool for deploying Sapper exported applications on Arweave

Installing

yarn add global @verto/deploy or npm i -g @verto/deploy

First steps

  • Before deploying, make sure that you run sapper export --entry "your routes with spaces between them"
  • Make sure you are deploying the __sapper__/export directory. It won't work with anything else.
  • Make sure that you are using RELATIVE urls with the built in sapper goto function and with anchor hrefs

Usage

verto help

Shows the help menu

Deploy a folder

verto deploy --dir <Sapper project directory to deploy> --keyfile <path toArweave keyfile>

This deploys your Sapper project. What it does:

  • Fixes links and hrefs (so it works with the arweave transaction id subfolder)
  • Deploys all your files
  • Creates a path manifest that links all files together and adds routes

Get balance

verto balance --keyfile <path toArweave keyfile>

Helper command: returns your arweave balance

Get transaction status

verto status <id>

Helper command: returns the status of the given transaction ID

Why does this library exist?

The arweave-deploy CLI does not work with Sapper applications. The routes are invalid and the links/hrefs also don't work. verto-deploy was built specifically for deploying Sapper apps.

FAQs

Package last updated on 21 Aug 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc