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
- Host: GitHub
- URL: https://github.com/polymeshassociation/polymesh-sdk-examples
- Owner: PolymeshAssociation
- Created: 2020-08-20T22:28:30.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2025-02-18T17:58:07.000Z (over 1 year ago)
- Last Synced: 2025-07-09T01:54:36.885Z (11 months ago)
- Language: TypeScript
- Size: 1.17 MB
- Stars: 8
- Watchers: 11
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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.