-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor getbalance * make getBalance generic * add envar back. lints. ibc service cleanup * refactor ibc transfer logic. add ibc channel to envar. * refactor justfiles. * better command name
- Loading branch information
1 parent
2001ff6
commit 8d45ca0
Showing
17 changed files
with
199 additions
and
184 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 |
---|---|---|
|
@@ -29,3 +29,6 @@ web/build | |
|
||
# gcloud | ||
gsa-key.json | ||
|
||
# ai digest | ||
codebase.md |
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,29 +1,8 @@ | ||
import 'justfile.codestyle' | ||
import 'justfile.utils' | ||
import 'justfile.tests' | ||
|
||
default: | ||
@just --list | ||
|
||
# Project Setup | ||
|
||
# copies web/.env.example to web/.env | ||
generate-initial-web-env: | ||
cp web/.env.example web/.env | ||
|
||
# installs npm deps for web | ||
install-web-deps: | ||
cd web && npm install | ||
mod web | ||
|
||
# builds the typescript for the front end app | ||
build-web: | ||
cd web && npm run build | ||
|
||
# deploys a temporarily accessible preview of the site | ||
deploy-hosting-preview: | ||
GOOGLE_APPLICATION_CREDENTIALS=./web/src/gsa-key.json \ | ||
firebase hosting:channel:deploy astriatest | ||
|
||
# run front end app locally, | ||
# with file watching that triggers rebuilds | ||
run-web-local: | ||
cd web && npm run start | ||
_default: | ||
@just --list |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
defaultUrl := 'http://rest.app.celestia.localdev.me' | ||
defaultAddress := 'celestia1m0ksdjl2p5nzhqy3p47fksv52at3ln885xvl96' | ||
[group('utils')] | ||
@celestia-get-balances url=defaultUrl address=defaultAddress: | ||
#!/bin/sh | ||
curl '{{ url }}/cosmos/bank/v1beta1/balances/{{ address }}?pagination.limit=1000' \ | ||
-H 'accept: */*' \ | ||
-H 'accept-language: en-US,en;q=0.9' \ | ||
-H 'origin: http://localhost:3000' \ | ||
-H 'priority: u=1, i' \ | ||
-H 'referer: http://localhost:3000/' | ||
|
||
[group('utils')] | ||
@celestia-get-txs url=defaultUrl address=defaultAddress: | ||
#!/bin/sh | ||
curl "{{ url }}/cosmos/tx/v1beta1/txs?events=message.sender='{{ address }}'&pagination.limit=1000" \ | ||
-H 'accept: */*' \ | ||
-H 'accept-language: en-US,en;q=0.9' \ | ||
-H 'origin: http://localhost:3000' \ | ||
-H 'priority: u=1, i' \ | ||
-H 'referer: http://localhost:3000/' |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
public/fonts |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
_default: | ||
@just --list | ||
|
||
# copies web/.env.example to web/.env | ||
init-env: | ||
cp .env.example .env | ||
|
||
# installs npm deps for web | ||
install: | ||
npm install | ||
|
||
# builds the typescript for the front end app | ||
build: | ||
npm run build | ||
|
||
# run front end app locally, with file watching that triggers rebuilds | ||
run: | ||
npm run start |
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
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
Empty file.
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
9 changes: 4 additions & 5 deletions
9
...ures/IbcChainSelector/IbcChainSelector.ts → ...ainSelector/hooks/useIbcChainSelection.ts
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,3 @@ | ||
import { useIbcChainSelection } from "./IbcChainSelector"; | ||
import { useIbcChainSelection } from "./hooks/useIbcChainSelection"; | ||
|
||
export { useIbcChainSelection }; |
Oops, something went wrong.