A simple lightweight server using Octane that re-signs transactions assigning the transaction fees to another account. This repo works in tandem to the iOS Octane Client repo.
There is only a single endpoint send
that takes in a serialized transaction and validates and resigns the transaction with a different fee payer than the original signer.
The Octane client library when creating this repo was not available as a npm module so it has been downloaded and included in the src/libraries
directory.
- Node >= 16
- ngrok >= 3
$ npm i
$ npm run dev
$ ngrok http 3000
Note* In order to run the associated client repo on a physical device you need to run the services through a proxy service that is publicly accessible. This repo uses ngrok but you could use any proxy server that works in the same manner.