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

@escrin/worker

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@escrin/worker

Escrin - Worker

  • 1.0.0-rc.3
  • npm
  • Socket score

Version published
Weekly downloads
7
decreased by-30%
Maintainers
1
Weekly downloads
 
Created
Source

Escrin - Worker

       

This is the source code for the escrin-runner platform services and the @escrin/worker TypeScript library.

Developing

You can get started by installing pnpm and running pnpm install.

Once the dependencies have been installed, you can run the package scripts. The important ones are:

  • pnpm lint - reports formatting errors and Solidity lints
  • pnpm format - attempts to fix lints in-place
  • pnpm build - builds the platform services and the TypeScript library
  • pnpm watch:build - watches files and rebuilds them when they change

To run the platform services locally, compile escrin/workerd and run workerd serve --verbose config/local.capnp.

To create a self-contained escrin-runner, use workerd compile config/local.capnp > escrin-runner, which can then be run without additional arguments (though --verbose is often helpful).

Publishing

To publish this library, bump the version in package.json, push that change to main, and then run pnpm publish.

Points of Interest

  • src/index.ts - the entrypoint of the @escrin/worker TypeScript library
  • workerd_config.capnp - the configuration of the escrin/workerd that runs the platform services and sets up the Smart Worker sandbox
  • src/runner.ts - the entrypoint service of the escrin-runner that spawns Smart Workers when requested
  • src/env/iam - a service linked to Smart Workers that provides decentrized key and identity management.
  • src/env/tpm - a service that provides access to the local Trusted Platform Module, which can be used to remotely attest to relying parties

As you work on the code, please feel encouraged to file issues or participate in the Discord community!

Keywords

FAQs

Package last updated on 08 Jan 2024

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