Skip to content

0xMiden/miden-para

Repository files navigation

@miden-sdk/miden-para

LICENSE test build

This is the Miden x Para SDK integration. Below, you'll find instructions for local building and linking the library. If you're looking for React integration, see Miden x Para x React (package @miden-sdk/use-miden-para-react). If you want to scaffold a fresh Vite react-ts app with our Vite config baked in, check create-miden-para-react (package @miden-sdk/create-miden-para-react).

Requirements

  • Yarn 1.22.22 (enforced via packageManager field)
  • Node.js (compatible with your project)
  • A Para API key. Production deployments require a Para production API key; use a non-prod key for local/dev.

This project uses Yarn 1.22.22. The version is locked in package.json and will be automatically enforced by modern package managers that support the packageManager field.

Peer Dependencies

@miden-sdk/miden-para expects these packages to be provided by the consuming app. Install matching versions alongside this package to avoid duplicate copies:

  • @miden-sdk/miden-sdk@^0.13.0
  • @getpara/web-sdk@2.0.0-alpha.73

Example install:

yarn add @miden-sdk/miden-para @miden-sdk/miden-sdk@^0.13.0 @getpara/web-sdk@2.0.0-alpha.73

When creating a client with storageMode set to private, supply an accountSeed; the initializer will throw if it is missing so that private accounts remain recoverable.

Installation

yarn install

Building

yarn build

Publishing to npm

  1. Update the version in package.json (the published package is @miden-sdk/miden-para).
  2. Authenticate with npm if needed: npm login.
  3. Publish: npm run publish. The prepack hook rebuilds dist/ and the postpack hook moves the generated tarball into build/.
  4. (Optional) Inspect the packed artifact without publishing via npm pack and check build/ for the resulting miden-sdk-miden-para-<version>.tgz.

About

The Miden x Para SDK integration

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors