An open API service indexing awesome lists of open source software.

https://github.com/polymeshassociation/polymesh-sdk-examples

Code examples using the Polymesh SDK
https://github.com/polymeshassociation/polymesh-sdk-examples

Last synced: 8 months ago
JSON representation

Code examples using the Polymesh SDK

Awesome Lists containing this project

README

          

## Description

Example project that demonstrate how to use Polymesh SDK along with some of its use cases

## Setup

### Requirements

- node.js version 14.x
- yarn version 1.x

### Installing Dependencies

```bash
$ yarn
```

### Environment Variables

```bash
POLYMESH_NODE_URL=## websocket URL for a Polymesh node ##
MIDDLEWARE_LINK=## URL for an instance of the Polymesh GraphQL Middleware service ##
MIDDLEWARE_KEY=## API key for the Middleware GraphQL service ##
ACCOUNT_SEED=## mnemonics of a signer ##
BOB_DID=## DID of an identity to be used as target (a Portfolio Custodian, a Claim target etc.) for various use cases ##
```

## Running the app

```bash
$ yarn run-example
```

NOTE: You may be required to pass a second argument such as a ticker or a secondary account in some of the examples.