This the reference implementation of the fuel-web3-provider
By default the fuel-web3-provider is pointing to https://bagas.app/api/relay but you can running your own fuel-server
There's a config file on ./config
that can be configured for your own needs with the following params:
privateKey
: The private key only known by the user. Keep it safeaddress
: Address of the private keyport
: Port where the API will be served
To install it, just run:
npm install
You can run it via npm
npm start
You can run it in watch mode.
npm run watch