-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Direct import & config overhaul (#1698)
* refactor config, export as library * wip: update builder to this version of connect * handle config in AppRouter so we can dispatch * remove unused key * clean up confusing env/network mess * update network selector to pull from connect lib * previewMode config setting disables transfers * revert changes to builder * revert package-lock * remove BackgroundImage * change default dark mode bg to black
- Loading branch information
1 parent
f06c070
commit 4dfd8c9
Showing
111 changed files
with
2,471 additions
and
2,622 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Lint | ||
name: Build | ||
|
||
on: | ||
pull_request: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,31 @@ | ||
## Contributing | ||
|
||
Contributions are welcome! To work on wormhole-connect locally you'll want to use `npm link` to make the changes to the SDK immediately available. | ||
|
||
### Setup | ||
|
||
1) Install | ||
|
||
Run `npm i` at the root of the repo | ||
|
||
2) Build | ||
|
||
Run `npm run build` at the root fo the repo | ||
|
||
3) Start | ||
|
||
Start wormhole-connect UI and view in browser at localhost:3000 | ||
```bash | ||
# in /wormhole-connect | ||
npm run start # testnet | ||
``` | ||
|
||
Start builder UI and view in browser at localhost:3000 | ||
```bash | ||
# in /builder | ||
npm run start | ||
``` | ||
|
||
## Add a token | ||
|
||
### Fill out token config | ||
|
@@ -52,4 +80,4 @@ Copy the outputted list and paste it into `src/consts/wallet.ts` as the value of | |
|
||
1. Make a GitHub release | ||
2. Tag it `[email protected]` | ||
3. Trigger the 'publish' GitHub action and fill in the tag when prompted, which will publish to NPM | ||
3. Trigger the 'publish' GitHub action and fill in the tag when prompted, which will publish to NPM |
Oops, something went wrong.