/stacking-integration-sample

Sample integration for Stacks 2.0 Stacking

Primary LanguageJavaScriptMIT LicenseMIT

stacking-integration-sample

Sample integration for Stacks 2.0 Stacking

Installation

Install all dependencies:

yarn

Run server

Run the server that will be available at http://localhost:3001:

yarn start

Access features

The server exposes a set of GET endpoints.

Get Stacking info

Open: http://localhost:3001/stacking/info

Get user info

Open: http://localhost:3001/stacking/user

Check eligibility

Open: http://localhost:3001/stacking/eligible

Stack tokens

Open: http://localhost:3001/stacking/stack

Check Stacking status

Open: http://localhost:3001/stacking/stacker-info