Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add release section in readme #56

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env_example
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# W3GW : mandatory
# W3GW: mandatory
W3GW_PRIVATE_KEYS=[]
W3GW_SEED_PHRASE=""

Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ A Web3 JSON-RPC provider gateway that handles accounts on its own using Ethers.j
yarn build
```

## Release

This repository is released automatically in [DockerHub](https://github.com/witnet/web3-jsonrpc-gateway/blob/main/.github/workflows/docker-publish.yml) and [npm](https://github.com/witnet/web3-jsonrpc-gateway/blob/main/.github/workflows/npm-publish.yml) using GitHub actions when a new release is detected in the repository. To release:

- Push a new tag.
- [Publish](https://github.com/witnet/web3-jsonrpc-gateway/releases/new) a new release.


## Running a single server instance, depending on destination provider type:

### Infura as destination provider:
Expand Down
2 changes: 1 addition & 1 deletion src/bin/w3gw.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ console.info(
)
console.info()
console.info(
'Optionally, you can specify an ETH/JSONRPC endpoint different from the default one by setting:'
'Optionally, you can specify a custom ETH/JSONRPC endpoint by setting:'
)
console.info()
console.info(
Expand Down
2 changes: 1 addition & 1 deletion src/lib/ethers/wrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ class WalletWrapper {
if (this.ethGasPriceFactor) {
return (await this.getGasPrice()).toHexString()
} else {
;(await this.provider.getGasPrice()).toHexString()
(await this.provider.getGasPrice()).toHexString()
}
}

Expand Down