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

Rollup PR of everything we need (so far) for Zilbridge -> XBridge conversion #23

Closed
wants to merge 6 commits into from
Closed
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
55 changes: 30 additions & 25 deletions .trunk/trunk.yaml
Original file line number Diff line number Diff line change
@@ -1,36 +1,43 @@
# This file controls the behavior of Trunk: https://docs.trunk.io/cli
# To learn more about the format of this file,
# see https://docs.trunk.io/reference/trunk-yaml
version: 0.1
cli:
version: 1.22.3
version: 1.22.4
# Trunk provides extensibility via plugins.
# (https://docs.trunk.io/plugins)
plugins:
sources:
- id: trunk
ref: v1.6.2
uri: https://github.com/trunk-io/plugins

# Many linters and tools depend on runtimes -
# configure them here. (https://docs.trunk.io/runtimes)
runtimes:
enabled:
- [email protected]
- [email protected]
# This is the section where you manage your linters.
# (https://docs.trunk.io/check/configuration)
lint:
enabled:
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- git-diff-check
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
# - [email protected] - removed for being over-prissy and wanting tab indents - rrw 2023-04-25
- [email protected]
- [email protected]
- [email protected]
- [email protected]
ignore:
- linters: [osv-scanner]
paths:
- scilla-contracts/**
- linters: [gitleaks]
paths:
- smart-contracts/script/config.ts
Expand All @@ -39,6 +46,7 @@ lint:
- linters: [eslint]
paths:
- bridge-web
- scilla-contracts
- linters: [ALL]
paths:
- .devcontainer/*
Expand All @@ -57,15 +65,12 @@ lint:
- "**/templates/*"
- "templates/**"
- "**/templates/**"
- smart-contracts/test/zilbridge/tokens/switcheo/**

runtimes:
enabled:
- [email protected]
- [email protected]
- [email protected]
actions:
enabled:
disabled:
- trunk-announce
- trunk-check-pre-push
- trunk-fmt-pre-commit
enabled:
- trunk-upgrade-available
12 changes: 12 additions & 0 deletions bridge-web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,18 @@ npm install
npm run dev
```

## Running locally

```sh
mitmweb --mode reverse:https://data-seed-prebsc-1-s1.binance.org:8545/ \
--no-web-open-browser --listen-port 5556 --web-port 5557
export VITE_BSC_TESTNET_API=http://localhost:5556
export VITE_BSC_TESTNET_KEY=
```

This is designed so that if you have a quiknode endpoint, you can set
`VITE_BSC_TESTNET_KEY` to your key.

## How to modify the encoded configuration

The steps to modify secrets are:
Expand Down
Loading
Loading