Skip to content

Smehnov/polkadot-statemine-token-auth-example

Repository files navigation

Polkadot Statemine(Assets hub) token auth example

Deploy with Vercel

You can set env variables in .env file

RPC_PROVIDER="wss://kusama-asset-hub-rpc.polkadot.io"
TOKEN_ID="1441" # TokenId for checking users balance
SECRET="ABCDE" # Secret for making JWT tokens

Run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

Open http://localhost:3000 with your browser to see the result.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published