Skip to content

Latest commit

 

History

History

express

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

TRON express server

Registers TRON exact with official @x402/express and protects GET /weather on port 4021. The server uses TRON_ADDRESS and never signs.

From examples/typescript:

cp .env-exact.example .env-exact
# Fill in the scenario configuration.
pnpm dev:server

See the TRON scenario guide for the other roles and prerequisites. Use the official examples for generic framework and upstream-chain setup.