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

Feature/refactor #195

Open
wants to merge 975 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
975 commits
Select commit Hold shift + click to select a range
5d22efd
feat: optimize
marslavish Feb 22, 2024
25a2d38
fix: cleanup
marslavish Feb 22, 2024
22b17be
Merge branch 'main' into feat/authz-ui
marslavish Feb 22, 2024
743cae4
Merge pull request #155 from cosmology-tech/feat/authz-ui
marslavish Feb 22, 2024
b4aa654
Merge branch 'main' into anmol/upgrade-starship
Anmol1696 Feb 23, 2024
09ca2c5
Merge pull request #168 from cosmology-tech/anmol/upgrade-starship
Anmol1696 Feb 28, 2024
dcc548a
Use yarn 4
twhy Mar 4, 2024
30a2454
Website template
twhy Mar 18, 2024
cdae0ff
Use next.js link
twhy Mar 18, 2024
9dcdbff
Update yarn.lock
twhy Mar 20, 2024
fa3d9bd
Update yarn.lock
twhy Mar 20, 2024
71b3218
Update yarn.lock
twhy Mar 20, 2024
3d04a30
Update templates yarn.lock
twhy Mar 20, 2024
de13521
Update yarn.lock
twhy Mar 20, 2024
b8e8b0e
fix: update yarn.lock
marslavish Mar 20, 2024
fe6f38d
remove test code
Zetazzz Mar 21, 2024
dc71b9d
fix: add missing dep in authz
marslavish Mar 21, 2024
e30689d
fix: rename telescope-authz to authz
marslavish Mar 21, 2024
7acab8d
feat: update readme
marslavish Mar 21, 2024
7f3a4f9
Update yarn.lock
twhy Mar 26, 2024
3a04471
osmo-query -> interchain-query
pyramation Apr 5, 2024
98c84b7
workflow
pyramation Apr 5, 2024
b4947a6
workflow
pyramation Apr 5, 2024
0e04513
fixed types for vote-proposal
pyramation Apr 5, 2024
29d5f63
locks
pyramation Apr 5, 2024
51dc211
SSR type error
pyramation Apr 5, 2024
0df9bf7
SSR type error
pyramation Apr 5, 2024
805ea68
stake-tokens
pyramation Apr 5, 2024
09b4a88
remove-send
pyramation Apr 5, 2024
30c110c
asset-list
pyramation Apr 5, 2024
ebac53c
ibc-transfer
pyramation Apr 5, 2024
1fa4063
swap
pyramation Apr 5, 2024
6d9c156
remove-send
pyramation Apr 5, 2024
f7b5f98
liquidity
pyramation Apr 5, 2024
ef39ee5
nft
pyramation Apr 5, 2024
5dc7fc9
no-ssr
pyramation Apr 5, 2024
55052cc
Component
pyramation Apr 5, 2024
e8d3b46
connect-chain
pyramation Apr 5, 2024
c8f4ed8
baseUrl
pyramation Apr 5, 2024
8c9ea1c
website
pyramation Apr 5, 2024
3c546d5
types
pyramation Apr 5, 2024
7a27d2d
cleanup
pyramation Apr 5, 2024
18d757c
grpc
pyramation Apr 5, 2024
256476a
upgrades, warn on outdated versions, install flag
pyramation Apr 6, 2024
2e25ea2
Merge pull request #173 from cosmology-tech/feat/new-cli
pyramation Apr 6, 2024
84fa83f
refactor
pyramation Apr 6, 2024
f591139
printCmd
pyramation Apr 6, 2024
be20b03
chore(release): publish
pyramation Apr 6, 2024
3997ba8
shortcuts and docs
pyramation Apr 6, 2024
d57397c
chore(release): publish
pyramation Apr 6, 2024
2568766
readme
pyramation Apr 6, 2024
daf5ec1
chore(release): publish
pyramation Apr 6, 2024
d88f2f9
readme
pyramation Apr 6, 2024
13cf568
chore(release): publish
pyramation Apr 6, 2024
81c0717
readme
pyramation Apr 6, 2024
d65c13a
chore(release): publish
pyramation Apr 6, 2024
89339d8
website over to boilerplate
pyramation Apr 11, 2024
6dcde14
lerna boilerplates
pyramation Apr 12, 2024
e6dc2f8
cli
pyramation Apr 12, 2024
5fb09f3
chore(release): publish
pyramation Apr 12, 2024
3bcfd50
cli
pyramation Apr 12, 2024
381535f
chore(release): publish
pyramation Apr 12, 2024
b3def74
pkg
pyramation Apr 12, 2024
4fc389d
chore(release): publish
pyramation Apr 12, 2024
74e545d
scripts
pyramation Apr 12, 2024
4c6c457
chore(release): publish
pyramation Apr 12, 2024
fbf9619
pkg
pyramation Apr 12, 2024
5e1dcff
workspace
pyramation Apr 12, 2024
20806ba
workflow
pyramation Apr 12, 2024
b1e9665
ts modules
pyramation Apr 12, 2024
8c21f25
node types
pyramation Apr 12, 2024
353040b
pkg
pyramation Apr 12, 2024
6c2f299
esm
pyramation Apr 12, 2024
6252dd0
telescope
pyramation Apr 12, 2024
a9d458b
node
pyramation Apr 12, 2024
c07921b
telescope
pyramation Apr 12, 2024
89fd4c3
questions
pyramation Apr 12, 2024
6a512e5
rimraf
pyramation Apr 12, 2024
8bfe359
locks
pyramation Apr 12, 2024
7358c51
init
pyramation Apr 12, 2024
0e75578
questions
pyramation Apr 12, 2024
d3e269c
jest
pyramation Apr 13, 2024
2b33881
pkg
pyramation Apr 13, 2024
58db22e
telescope
pyramation Apr 18, 2024
e0cbf2d
main
pyramation Apr 18, 2024
65c8417
telescope
pyramation Apr 18, 2024
fc362d5
telescope
pyramation Apr 18, 2024
f1e75b9
pkg
pyramation Apr 18, 2024
ccd9a39
pkg
pyramation Apr 18, 2024
2479d78
updates
pyramation Apr 18, 2024
50154a8
updates
pyramation Apr 18, 2024
6d79189
replaceFiles
pyramation Apr 19, 2024
4076096
chore(release): publish
pyramation Apr 19, 2024
c61fed6
modulename
pyramation Apr 19, 2024
e7ed6c9
fix(asset-list): show withdraw btn regardless of balance
marslavish Apr 22, 2024
1c27c27
update workspace
pyramation May 3, 2024
82bccf3
rimraf
pyramation May 25, 2024
4dbf883
rimraf
pyramation May 25, 2024
3497095
nocheck
pyramation May 25, 2024
5fbe901
lint
pyramation May 25, 2024
773f4c3
nocheck
pyramation May 25, 2024
1492382
wallet
pyramation May 25, 2024
b97e96e
lint
pyramation May 25, 2024
bd2b345
nocheck
pyramation May 25, 2024
a71dd7b
linter
pyramation May 25, 2024
5b67c25
workflow
pyramation May 25, 2024
ab3d8ff
telescope
pyramation May 25, 2024
b8d4f72
eslint
pyramation May 25, 2024
682e44f
fix
yyyyaaa Jun 7, 2024
ab8baea
fix: add back lockfile
yyyyaaa Jun 7, 2024
837cd40
try new workflow
yyyyaaa Jun 7, 2024
61de921
f
yyyyaaa Jun 7, 2024
d11aea8
f
yyyyaaa Jun 7, 2024
c996abd
f
yyyyaaa Jun 7, 2024
5047f16
ff
yyyyaaa Jun 7, 2024
79f3592
f
yyyyaaa Jun 7, 2024
56f66ca
fff
yyyyaaa Jun 7, 2024
5a7aaea
use steps
yyyyaaa Jun 7, 2024
e3ff90b
ff
yyyyaaa Jun 7, 2024
e0db877
try
yyyyaaa Jun 7, 2024
34f6d9d
f
yyyyaaa Jun 7, 2024
a5d68bc
f
yyyyaaa Jun 7, 2024
d895843
fail
yyyyaaa Jun 7, 2024
929851b
use sth
yyyyaaa Jun 7, 2024
60e1cd0
rm
yyyyaaa Jun 7, 2024
9b73e47
rm
yyyyaaa Jun 7, 2024
01141dc
fix: build
yyyyaaa Jun 7, 2024
02de4dc
lock
yyyyaaa Jun 7, 2024
23f1b9d
try matrix again
yyyyaaa Jun 7, 2024
c743aa5
try
yyyyaaa Jun 7, 2024
4d7f28d
fail fast false
yyyyaaa Jun 7, 2024
e88e32a
oops
yyyyaaa Jun 7, 2024
b1506ce
mkdir
yyyyaaa Jun 7, 2024
02ab49d
yarn error
yyyyaaa Jun 7, 2024
bab1b08
fix
yyyyaaa Jun 7, 2024
aad1302
s
yyyyaaa Jun 7, 2024
2db98c4
dodo
yyyyaaa Jun 7, 2024
55392dd
fix
yyyyaaa Jun 7, 2024
eecf1a6
cancel
yyyyaaa Jun 7, 2024
f2998d6
typo
yyyyaaa Jun 7, 2024
5b37227
log
yyyyaaa Jun 7, 2024
da40cad
log
yyyyaaa Jun 7, 2024
d4fefea
oops
yyyyaaa Jun 7, 2024
84ecbd9
lock file
yyyyaaa Jun 7, 2024
5158e53
try 4
yyyyaaa Jun 7, 2024
c92f80a
yarn4 lockfile
yyyyaaa Jun 7, 2024
071741d
fix swap
yyyyaaa Jun 7, 2024
338d111
filter not working
yyyyaaa Jun 7, 2024
1d95e5f
fix
yyyyaaa Jun 7, 2024
6b3a6ee
fix authz
yyyyaaa Jun 7, 2024
80cc024
simplify
yyyyaaa Jun 7, 2024
5de4d61
fix
yyyyaaa Jun 7, 2024
0ead101
chakra
yyyyaaa Jun 7, 2024
ef4d4c3
fix cache
yyyyaaa Jun 7, 2024
a8c1af6
typo
yyyyaaa Jun 7, 2024
1ac64c5
yarn lock
yyyyaaa Jun 7, 2024
5136777
f
yyyyaaa Jun 8, 2024
68962c5
f
yyyyaaa Jun 8, 2024
9867885
Merge pull request #181 from cosmology-tech/fix/ci-fail-to-detect
pyramation Jun 11, 2024
a029394
fix: old ci job yarn4 issues (#182)
yyyyaaa Jun 11, 2024
b00f80e
ci: try disable yarn cache due to cache paths not found error (#183)
yyyyaaa Jun 11, 2024
35d5ac9
ci: try immutable false for yarn4 (#184)
yyyyaaa Jun 11, 2024
a447891
ci: try setting yarn immutable false using github env (#185)
yyyyaaa Jun 11, 2024
1ec341b
add build:dev and docs
Zetazzz Jun 12, 2024
fb66988
change the comments
Zetazzz Jun 12, 2024
4422bd9
update copy for templates
pyramation Jun 19, 2024
ac89dfa
Merge pull request #188 from cosmology-tech/text/copy
pyramation Jun 19, 2024
386ab74
header
pyramation Jun 19, 2024
670c2ac
Merge pull request #186 from cosmology-tech/build-dev
pyramation Jun 20, 2024
1e8de5f
fix: upgrade deps and fix multi chain dropdown
yyyyaaa Jun 20, 2024
f5f9e88
chore: yarn lock
yyyyaaa Jun 20, 2024
d74a443
fix: ts lint error in JSX
yyyyaaa Jun 20, 2024
60381ae
Merge pull request #190 from cosmology-tech/fix/template-multi-chain-…
pyramation Jun 21, 2024
0c80db5
upgrades
pyramation Jun 21, 2024
bc449a8
fix: try locks update script
yyyyaaa Jun 21, 2024
3ec61eb
fix: deps
yyyyaaa Jun 21, 2024
4b020bf
isolate authz
yyyyaaa Jun 21, 2024
d24cb5c
Merge pull request #191 from cosmology-tech/upgrade/cosmos-kit-cosmjs
pyramation Jun 21, 2024
f6f9c58
fix liq bugs & update chainRegister
btcSteven Jun 27, 2024
0cf6c6c
upgrade chainRegistry
btcSteven Jun 27, 2024
1b7578c
name change
pyramation Jun 28, 2024
09019a5
remove console
btcSteven Jun 28, 2024
4431486
add Balance components
btcSteven Jun 29, 2024
076493e
update balance components
btcSteven Jun 29, 2024
5c3732b
Merge pull request #1 from stark-tech-space/fix/liquidity
skylinezum Jul 3, 2024
1ebf6bf
display balance || change to ??
btcSteven Jul 4, 2024
cac390f
test assets from @chain-registry/osmosis
btcSteven Jul 4, 2024
c45d85c
fix denom osmo -> uosmo
btcSteven Jul 10, 2024
6dc07ef
need to install dayjs to run examples/telescope
Jul 17, 2024
a84ed08
* Fixed issue that deposit/withdraw modal title always show "Deposit"…
Jul 17, 2024
b1c120a
show balance on the deposit/withdraw modal from the list
Jul 18, 2024
3d6bcab
update dep
btcSteven Jul 18, 2024
d72dcbf
use the utils directly
btcSteven Jul 18, 2024
78e16f3
remove package
btcSteven Jul 18, 2024
19cacc8
remove funciton and direct use utils
btcSteven Jul 18, 2024
df07835
test changing timeEstimateLabel and found it not working
Jul 18, 2024
3f8ed9a
remove log of inputvalue
Jul 18, 2024
40185cd
upgrade interchain-ui
Jul 18, 2024
62dc7bc
upgrade interchain-ui to 1.23.26 and issues of estimate time label an…
Jul 22, 2024
ae4a55d
bug fixed: show displayAmount instaed amount in the OverviewTransfer …
Jul 22, 2024
290d6f1
modify useBalance hook to fetch all assets balance
Jul 22, 2024
d07b36e
get balance by token symbol
Jul 24, 2024
7550c8d
fixed some bugs related to undefined
Jul 24, 2024
064954e
add getDenomBySymbolAndChain
Jul 24, 2024
ad68f5e
get the right denom when deposit from list
Jul 24, 2024
aa539d9
fix authz & nft & telescope issue
btcSteven Jul 25, 2024
456534a
add paramater chainName to symbolToDenom function, to find ibc denom …
Jul 25, 2024
fca945e
modify dollarValue by getting 1 token price to be token usd value
Jul 25, 2024
a68619f
upgrade @interchain-ui/react from 1.23.26 to 1.23.28 to solve the bug…
Jul 25, 2024
3f91414
change title of website from "Create Cosmos App" to "Asset List - Cre…
Jul 25, 2024
02278b1
more details of error
Jul 26, 2024
00be52b
upgrade @interchain-ui/react from 1.23.22 to 1.23.28
Jul 26, 2024
9eb6d8f
upgrade chain-registry
btcSteven Jul 29, 2024
ea89565
grpc-web-grpc-gateway upgrade
btcSteven Jul 29, 2024
9286d2f
upgrade ib-transfer
btcSteven Jul 29, 2024
32ca8bf
upgrade nft
btcSteven Jul 29, 2024
2436236
fix bugs liquidity
btcSteven Jul 29, 2024
f5cd809
upgrade rollkit
btcSteven Jul 29, 2024
f08a455
modify title name
Jul 29, 2024
af4a646
upgrade stake-tokens
btcSteven Jul 30, 2024
80e2a06
fix swap-toknes
btcSteven Jul 30, 2024
457c20e
fix bug with OsmosisAssets complete DuplicatesByBase
btcSteven Jul 30, 2024
342a49f
upgrade telescope
btcSteven Jul 30, 2024
71fae46
upgrade telescope-with-contracts
btcSteven Jul 30, 2024
3ba8b76
upgrade interchain-ui from 1.23.28 to 1.23.29
Jul 31, 2024
bdc7589
modify title, added "Vote Proposal" to it
Jul 31, 2024
82b834c
upgrade vote-proposal
btcSteven Jul 31, 2024
25fa997
use v1 of proposal API
Jul 31, 2024
72ae9d3
show proposal description from v1 API
Jul 31, 2024
fa15db5
fix: input clamp behavior
yyyyaaa Jul 31, 2024
4aac19f
upgrade interchanjs to 1.23.29
Aug 1, 2024
0d22cf5
Fixed some comment errors
btcSteven Aug 2, 2024
89e396e
solve the issue that shows 'Box' cannot be used as a JSX component by…
Aug 4, 2024
58c289f
fixed two bug of example telescope while building
Aug 4, 2024
0de7da8
fixed build failed of authz by upgrading @cosmjs/encoding
Aug 5, 2024
3c3c271
Merge branch 'cosmology-tech:main' into feature/refactor
skylinezum Aug 5, 2024
730d957
fixed the bug that cca nft build failed by upgrading @interchain-ui/r…
Aug 5, 2024
4355162
fixed the bug that cca rollkie example failed to build by upgrading b…
Aug 5, 2024
f5eefff
fixed the path not found for Coin
Aug 5, 2024
135959a
fixed the issue shows 'Box' cannot be used as a JSX component
Aug 5, 2024
c5fc3af
Merge branch 'bugs/stake-tokens' into eason/bugfixing
Aug 6, 2024
a3e892b
Merge pull request #197 from cosmology-tech/eason/bugfixing
marslavish Aug 6, 2024
ce16ebb
Merge remote-tracking branch 'upstream/main' into feature/refactor
skylinezum Aug 6, 2024
5143aaa
regenerate yarn.lock after fixing conflicts
skylinezum Aug 6, 2024
ae06ff6
fix: remove authz Box
btcSteven Aug 7, 2024
8dc0a52
Merge branch 'feature/refactor' of github.com:stark-tech-space/create…
btcSteven Aug 7, 2024
147de21
remove ibc-transfer
skylinezum Aug 7, 2024
4604dea
Merge branch 'remove-ibc-transfer' into feature/refactor
skylinezum Aug 7, 2024
348d0e9
rename asset-list back
skylinezum Aug 7, 2024
7312817
update package.json
btcSteven Aug 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
70 changes: 0 additions & 70 deletions .eslintrc.js

This file was deleted.

81 changes: 81 additions & 0 deletions .github/workflows/run-tests-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
name: Build Next.js examples

on:
workflow_dispatch:
pull_request:
types: [opened, reopened, synchronize]

jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
fail-fast: true
matrix:
example:
[
asset-list,
vote-proposal,
ibc-transfer,
swap-tokens,
provide-liquidity,
nft,
connect-chain,
connect-multi-chain,
]

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set template_path Environment Variable
run: |
example_value="${{ matrix.example }}"

if [[ "$example_value" == "connect-chain" ]] || [[ "$example_value" == "connect-multi-chain" ]]; then
echo "template_path=templates" >> $GITHUB_ENV
echo "ci_template_path=dest" >> $GITHUB_ENV
else
echo "template_path=examples" >> $GITHUB_ENV
echo "ci_template_path=dest" >> $GITHUB_ENV
fi

- name: Log
run: |
echo "Using template_path: $template_path"
echo "Using ci_template_path: $ci_template_path"

- name: Clone example
run: |
echo "Cloning example: ./$template_path/${{ matrix.example }}/" into "${{ github.workspace }}/$ci_template_path/${{ matrix.example }}"

mkdir -p ${{ github.workspace }}/$ci_template_path/${{ matrix.example }}
cp -r ./$template_path/${{ matrix.example }}/ ${{ github.workspace }}/$ci_template_path/
cd ${{ github.workspace }}/$ci_template_path/${{ matrix.example }}

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20

- name: Set up Yarn
uses: threeal/[email protected]

- name: Cache NextJS
uses: actions/cache@v4
with:
path: |
${{ github.workspace }}/.next/cache
# Generate a new cache whenever packages or source files change.
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}
# If source files changed but packages didn't, rebuild from a prior cache.
restore-keys: |
${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}-

- name: Build example project
run: |
echo "Building example: ${{ matrix.example }} in directory ${{ github.workspace }}/$ci_template_path/${{ matrix.example }}"
cd ${{ github.workspace }}/$ci_template_path/${{ matrix.example }}
ls -la
yarn install
yarn build
87 changes: 87 additions & 0 deletions .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
name: Run Tests Prod

on:
push:
branches:
- main
workflow_dispatch:

jobs:
run-tests:
runs-on: ubuntu-latest

steps:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20

- name: Set up Yarn
uses: threeal/[email protected]
with:
cache: false

- name: Install Dependencies
run: |
echo "YARN_ENABLE_IMMUTABLE_INSTALLS=false" >> $GITHUB_ENV
npm install -g create-cosmos-app

- name: asset-list
run: |
cca --example asset-list --name asset-list
cd asset-list
yarn build

- name: vote-proposal
run: |
cca --example vote-proposal --name vote-proposal
cd vote-proposal
yarn build

- name: ibc-transfer
run: |
cca --example ibc-transfer --name ibc-transfer
cd ibc-transfer
yarn build

- name: swap-tokens
run: |
cca --example swap-tokens --name swap-tokens
cd swap-tokens
yarn build

- name: provide-liquidity
run: |
cca --example provide-liquidity --name provide-liquidity
cd provide-liquidity
yarn build

- name: nft
run: |
cca --example nft --name nft
cd nft
yarn build

- name: authz
run: |
cca --example authz --name authz
cd authz
yarn build

- name: connect-chain
run: |
cca --template connect-chain --name connect-chain
cd connect-chain
yarn build

- name: connect-multi-chain
run: |
cca --template connect-multi-chain --name connect-multi-chain
cd connect-multi-chain
yarn build

- name: website
run: |
cca --boilerplate website --name website
cd website
yarn build
29 changes: 0 additions & 29 deletions .github/workflows/run-tests.yml

This file was deleted.

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.yarn
.yarn/*
.DS_Store
.eslintcache
*.log
Expand Down
2 changes: 2 additions & 0 deletions .prettierrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# .prettierrc or .prettierrc.yaml
singleQuote: true
34 changes: 16 additions & 18 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
{
"editor.formatOnSave": true,
"[javascriptreact]": {
"editor.formatOnSave": false
},
"[javascript]": {
"editor.formatOnSave": false
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"eslint.validate": [
"javascript",
"javascriptreact"
],
"files.exclude": {
".yarn/*": true
},
}
"editor.formatOnSave": true,
"[javascriptreact]": {
"editor.formatOnSave": false
},
"[javascript]": {
"editor.formatOnSave": false
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"eslint.validate": ["javascript", "javascriptreact"],
"files.exclude": {
".yarn/*": true
},
"typescript.tsdk": "node_modules/typescript/lib"
}
Loading