Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

State-Channel-4/backend

Repository files navigation

channel-4-backend

Backend code to synchronize users actions in the app to the state of the smart contract.

To start

Download the repository and move to the project folder. Remember to have Node v16.20.0 or higher installed.

# 1 - Create a .env file like the .env.example file
cp .env.example .env
# 2 - Install dependencies
npm install
# 3 - Generate the contract types
npm run typechain:create
# 3 - Run the server in dev mode
npm run dev
# 4 - Run the server in production mode
npm run start

About

Backend code to synchronize users actions in the app to the state of the smart contract

Resources

Stars

Watchers

Forks

Packages

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /