Go to file
Bing Yu 7acbacd0ea
node: Add config file support (#3710)
* node: Add logic to read file config and bind flags

Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>

* node: add guardian node config to node.yaml

Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>

* node: fix path typo

Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>

* node: modularize initFileConfig

Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>

* node: update ethRPC to the correct url

Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>

* node: update config file path

Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>

* node: add initial config file testing data

Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>

* node: add test for flag precedence over config file

Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>

* node: add test cases for flag, env var and config file precedence

Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>

* node: use backticks as expected output

Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>

* node: update comments

Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>

* node: handle binding errors

Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>

* node: create separate test functions

Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>

* node: absolute filepath -> relative filepath

Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>

* docs: Add guardian config file usage

Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>

* node: update config file name and env var prefix

Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>

---------

Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
2024-01-20 02:05:23 +08:00
.github .github: update CODEOWNERS 2023-12-21 12:41:29 -06:00
.run Commit .run IntelliJ shortcuts to repo 2020-11-23 17:21:41 +01:00
algorand tilt: remove additional root CA support 2023-12-12 14:22:05 -06:00
aptos docs: fix typos with spell checker 2023-12-21 15:24:20 -06:00
bitcoin upgrade to golang 1.19.9 2023-05-04 07:22:38 -07:00
clients Client/JS: Add Holesky support (#3638) 2024-01-09 10:19:51 -06:00
cosmwasm cosmwasm: accounting: change str.try_into().unwrap() to str.into() because conversion is infallible… (#3623) 2024-01-04 00:39:00 +08:00
dashboards add Prometheus + Grafana for Guardian metrics 2022-08-04 16:03:56 -04:00
deployments/mainnet node: Gateway watcher support (#3275) 2023-08-14 11:13:20 -04:00
devnet node: Add config file support (#3710) 2024-01-20 02:05:23 +08:00
docs node: Add config file support (#3710) 2024-01-20 02:05:23 +08:00
ethereum Deploy Holesky Testnet (#3630) 2024-01-08 16:42:10 -06:00
lp_ui js: make packages comply with ci rule 2022-10-20 17:11:13 -05:00
near docs: fix typos with spell checker 2023-12-21 15:24:20 -06:00
node node: Add config file support (#3710) 2024-01-20 02:05:23 +08:00
proto sdk: vaa: add missing chain IDs for gnosis and rootstock (#3624) 2024-01-10 15:16:43 -05:00
relayer/generic_relayer/relayer-engine-v2 tilt: remove additional root CA support 2023-12-12 14:22:05 -06:00
scripts terra: migrate to cosmwasm 1.1.0 (#3138) 2023-12-13 16:27:17 +00:00
sdk sdk/js: 0.10.9 release 2024-01-12 15:57:32 -05:00
solana tilt: remove additional root CA support 2023-12-12 14:22:05 -06:00
spydk/js spydk: add done() 2023-03-31 15:07:26 -04:00
sui complete transfer 2024-01-17 08:58:24 -06:00
terra terra/doc: add some implementation notes (#3597) 2023-12-13 17:21:34 +00:00
testing terra: update devnet address 2023-12-13 11:45:07 -05:00
third_party Move from ADD to COPY on Dockerfiles 2022-07-13 09:27:15 -04:00
tilt_modules Devnet arguments for BigTable connection. 2021-08-05 12:53:56 +00:00
tools node: update golang to 1.20 from 1.19 2023-05-12 05:59:53 -04:00
whitepapers docs: fix typos with spell checker 2023-12-21 15:24:20 -06:00
wormchain wormchain: only latest guardian set is exempt from expiry (#3714) 2024-01-17 17:01:05 +00:00
.dockerignore tilt: ignore wormchain gentx folder to make deployment robust 2022-12-12 16:59:26 -05:00
.gitignore node: Fix url verification bug where <ip>:<port> is not supported (#3719) 2024-01-19 03:14:59 +08:00
.golangci.yml ci/golangci: fix comment 2023-05-05 07:13:40 -07:00
.nvmrc Add top level .nvmrc file (#2342) 2023-02-06 23:10:40 +08:00
.prettierignore ci: add github workflow with prettier checks for clients/js/src and sdk/js/src (#3176) 2023-07-12 11:30:14 -04:00
.spr.yml rename dev.v2 to main 2022-11-29 10:43:07 -05:00
CONTRIBUTING.md rename dev.v2 to main 2022-11-29 10:43:07 -05:00
DEVELOP.md node: Removed support for writing attestation events to bigtable 2023-09-07 12:41:36 -05:00
Dockerfile.cli tilt: remove additional root CA support 2023-12-12 14:22:05 -06:00
Dockerfile.const tilt: remove additional root CA support 2023-12-12 14:22:05 -06:00
Dockerfile.proto tilt: remove additional root CA support 2023-12-12 14:22:05 -06:00
LICENSE staging/algorand: apply global Apache 2 license 2022-02-05 09:30:28 -05:00
Makefile Makefile: set CGO_ENABLED=1 2023-10-26 12:29:56 -04:00
Makefile.help Add scripts and readme to deploy and verify terra contracts 2022-04-05 17:42:07 +02:00
README.md docs: change link on README to point to docs site 2023-07-12 11:46:54 -04:00
SECURITY.md docs: typos in SECURITY.md (#3567) 2023-12-12 07:35:05 -05:00
Tiltfile node: Fix url verification bug where <ip>:<port> is not supported (#3719) 2024-01-19 03:14:59 +08:00
buf.gen.web.yaml sdk/js: publish separate proto packages 2022-07-13 10:04:23 -04:00
buf.gen.yaml node: rename bridge/ to node/ 2021-08-26 11:36:36 +02:00
buf.lock Update buf.lock 2022-09-07 10:34:18 -04:00
buf.yaml certusone -> wormhole-foundation 2022-08-26 12:48:14 -04:00
generate-abi-celo.sh certusone -> wormhole-foundation 2022-08-26 12:48:14 -04:00
generate-abi.sh certusone -> wormhole-foundation 2022-08-26 12:48:14 -04:00
package-lock.json sdk/js: injective package bump (#2175) 2023-01-23 21:33:26 -05:00

README.md

Banner

This monorepo contains the reference implementation of the Wormhole protocol.

To learn about how to use and build on Wormhole read the docs.


See Live Contracts for current testnet and mainnet deployments of the Wormhole smart contracts.

See DEVELOP.md for instructions on how to set up a local devnet, CONTRIBUTING.md for instructions on how to contribute to this project, and SECURITY.md for more information about our security audits and bug bounty program.

See docs/operations.md for node operator instructions.

This software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Or plainly spoken - this is a very complex piece of software which targets a bleeding-edge, experimental smart contract runtime. Mistakes happen, and no matter how hard you try and whether you pay someone to audit it, it may eat your tokens, set your printer on fire or startle your cat. Cryptocurrencies are a high-risk investment, no matter how fancy.