Skip to content

Proxy server that relays transactions to Biconomy, using some restrictions

Notifications You must be signed in to change notification settings

decentraland/transactions-server

Repository files navigation

Transactions Server

Coverage Status

Server to relay meta-transactions.

Set up

You'll need to check the .env.defaults file and create your own .env file. Some properties have defaults. Once you're done, you can run the project!

Run the project

The server's only dependency is sqlite3 which needs to be initialized first.

npm install
npm run migrate
npm start # runs npm run build behind the scenes

# or

npm run start:watch # will watch for changes

Endpoints

Check ./src/adapters/routes.ts for an up to date list of all the endpoints. The most important ones are:

POST /transactions

Relays a meta transaction. It accepts a body with the data. Check transactionSchema for an up to date version of the data you need to supply.

You can also check this Playground

GET /transactions/:userAddress

Returns the transactions an address relayed

Test

npm run test

# or

npm run test:watch # will watch for changes

About

Proxy server that relays transactions to Biconomy, using some restrictions

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages