New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@zeitgeistpm/types

Package Overview
Dependencies
Maintainers
3
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zeitgeistpm/types

Generated types for the Zeitgeist network.

  • 1.0.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

@zeitgeistpm/types

The types package contains the generated types for the Zeitgeist chain. Types are generated by first defining them in the types-def package, then running some scripts from the root of the monorepo.

Generating Types

Any time that you update types in types-def, you will need to generate the new types in this package.

First you will need to run a local instance of the new runtime for which the types have changed.

# build zeitgeistpm/zeitgeist
make build-wasm
make build
make restart

Once you have an instance of the chain running, you can run some scripts from the root of this monorepo (make sure you have the RPC port 9933 exposed! this is on by default):

# gets metadata from the locally running chain
yarn types:getMetadata
yarn types:generate

And you're done! Now time to make a new release and/or fix anything that's broken in the SDK!

FAQs

Package last updated on 01 Feb 2023

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