Skip to content

Commit

Permalink
readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
iskysun96 committed May 28, 2024
1 parent 7860582 commit b12c0d2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

> ๐Ÿšงโœ‹ ์ž ๊น! ์˜ค๋Š˜ ์ฝ”๋”ฉ ๊ณผ์ œ๋ฅผ ์„ฑ๊ณต์ ์œผ๋กœ ๋๋‚ด๊ธฐ ์œ„ํ•ด ๊ผญ!! ์•„๋ž˜ ์„ค๋ช…์„ ์ฐจ๋ก€๋Œ€๋กœ ๋‹ค ์ฝ๊ณ  ์ง„ํ–‰ํ•ด์ฃผ์„ธ์š”!!!
์นด์ด์ŠคํŠธ ์˜ค๋ผํด X ์•Œ๊ณ ๋žœ๋“œ ๊ฐœ๋ฐœ์ž ์„ธ์…˜์— ์˜ค์‹  ์—ฌ๋Ÿฌ๋ถ„ ๋ฐ˜๊ฐ‘์Šต๋‹ˆ๋‹ค~!
์นด์ด์ŠคํŠธ ์˜ค๋ผํด X ์•Œ๊ณ ๋žœ๋“œ ๊ฐœ๋ฐœ์ž ์„ธ์…˜์— ์˜ค์‹  ์—ฌ๋Ÿฌ๋ถ„ ๋ฐ˜๊ฐ‘์Šต๋‹ˆ๋‹ค~! test

์ด ์ฝ”๋”ฉ๊ณผ์ œ์—์„œ ์—ฌ๋Ÿฌ๋ถ„์€ [์•Œ๊ณ ๋žœ๋“œ ํŒŒ์ด์ฌ](https://algorandfoundation.github.io/puya/index.html)์œผ๋กœ NFT ๋งˆ์ผ“ํ”Œ๋ ˆ์ด์Šค ์Šค๋งˆํŠธ ๊ณ„์•ฝ์„ ์ง์ ‘ ๊ตฌํ˜„ํ•˜๊ณ  [AlgoKit Utils TypeScript](https://github.com/algorandfoundation/algokit-utils-ts)์™€ [Application Client](https://github.com/algorandfoundation/algokit-client-generator-ts/tree/main)๋ฅผ ์‚ฌ์šฉํ•ด ์Šค๋งˆํŠธ๊ณ„์•ฝ์„ ๋ฐฐํฌ ๋ฐ ํ˜ธ์ถœํ•˜๋Š” React ํ”„๋ก ํŠธ์•ค๋“œ ์—ฐ๋™์„ ๊ตฌ์ถ•ํ•ด๋ณผ ๊ฒƒ ์ž…๋‹ˆ๋‹ค.

Expand Down Expand Up @@ -59,6 +59,7 @@ https://github.com/algorand-fix-the-bug-campaign/challenge-1/assets/52557585/acd

### ๋กœ์ปฌ ๋„คํŠธ์›Œํฌ ์‹คํ–‰
1. ๋„์ปค ๋ฐ์Šคํฌํƒ‘์„ ์‹คํ–‰ํ•œ ๋’ค ํ„ฐ๋ฏธ๋„์—์„œ `algokit localnet start` ์ปค๋งจ๋“œ๋กœ ๋กœ์ปฌ ๋„คํŠธ์›Œํฌ๋ฅผ ์‹คํ–‰์‹œ์ผœ์ฃผ์„ธ์š”.[๋” ์ž์„ธํžˆ ์•Œ๊ณ  ์‹ถ๋‹ค๋ฉด ์—ฌ๊ธฐ๋ฅผ ํด๋ฆญํ•ด์ฃผ์„ธ์š”!](https://github.com/algorandfoundation/algokit-cli/blob/main/docs/features/localnet.md#creating--starting-the-localnet). ์˜ค๋Š˜ ๋ชจ๋“  ์ฝ”๋“œ๋Š” ๋กœ์ปฌ ๋„คํŠธ์›Œํฌ์—์„œ ์‹คํ–‰๋ฉ๋‹ˆ๋‹ค.
> ๋งŒ์•ฝ ๋กœ์ปฌ ๋„คํŠธ์›Œํฌ ์—ฐ๊ฒฐ์ด ์•ˆ๋˜๊ฑฐ๋‚˜ ๋ญ”๊ฐ€ ๋ฌธ์ œ๊ฐ€ ์ƒ๊ธฐ๋ฉด `algokit localnet reset` ์ปค๋งจ๋“œ๋กœ ๋‹ค์‹œ ๋กœ์ปฌ๋„คํŠธ์›Œํฌ๋ฅผ ์ง€์šฐ๊ณ  ์ƒ์„ฑํ•˜์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค.
### 1-4๋ฌธ์ œ: ์Šค๋งˆํŠธ๊ณ„์•ฝ ๋ฌธ์ œ ์ง„ํ–‰ ์„ค๋ช…
1. `orakle-nft-marketplace-app-contracts` ํ„ฐ๋ฏธ๋„์—์„œ `poetry shell`๋ฅผ ์‹คํ–‰ํ•ด์„œ ํŒŒ์ด์ฌ ๊ฐ€์ƒํ™˜๊ฒฝ์„ ์ผฐ๋Š”์ง€ ํ™•์ธํ•˜์„ธ์š”.
Expand All @@ -70,9 +71,13 @@ https://github.com/algorand-fix-the-bug-campaign/challenge-1/assets/52557585/acd

### 5-9๋ฌธ์ œ: ํ”„๋ก ํŠธ์•ค๋“œ ์—ฐ๋™ ๋ฌธ์ œ ์ง„ํ–‰ ์„ค๋ช…
1. `orakle-nft-marketplace-app-frontend` ํ„ฐ๋ฏธ๋„๋กœ ๊ฐ€์„œ `npm run dev`๋ฅผ ์‹คํ–‰ํ•ด ๋กœ์ปฌ ์„œ๋ฒ„๋ฅผ ์‹คํ–‰ํ•œ ๋’ค, ๋ธŒ๋ผ์šฐ์ €์— ํŽ˜์ด์ง€๋ฅผ ์—ด๊ณ  ์ง„ํ–‰ํ•ด์ฃผ์„ธ์š”!
2. `orakle-nft-marketplace-app-contracts` ํ„ฐ๋ฏธ๋„์—์„œ `algokit project deploy localnet`๋ฅผ ์‹คํ–‰ํ•˜์‹œ๋ฉด "=== Deploying NftMarketplaceList ===" ๋ฐ‘์—
"Created app ****..." ๋ผ๋Š” ๋ฉ”์‹œ์ง€๊ฐ€ ๋œน๋‹ˆ๋‹ค. ์—ฌ๊ธฐ์„œ ๋‚˜์˜ค๋Š” app ID ๋ฒˆํ˜ธ๋ฅผ ๋ณต์‚ฌํ•ด์„œ `src/utils/marketplaceListAppId.ts`์— `marketplaceListAppId` ๋ณ€์ˆ˜๊ฐ’์œผ๋กœ ๋ถ™์—ฌ๋„ฃ์–ด์ฃผ์„ธ์š”.
3. ๋ฌธ์ œ 5์€ `src/utils/getCurrentNftmClient.ts` ํŒŒ์ผ์— ์žˆ์Šต๋‹ˆ๋‹ค! ํŒŒ์ผ์— ๋ฌธ์ œ๊ฐ€ ์ ํ˜€์žˆ์Šต๋‹ˆ๋‹ค.
4. ๋ฌธ์ œ 6-9๋Š” `src/methods.ts` ํŒŒ์ผ์— ์žˆ์Šต๋‹ˆ๋‹ค! ํŒŒ์ผ์— ๋ฌธ์ œ๋“ค์ด ์ ํ˜€์žˆ์Šต๋‹ˆ๋‹ค.
3. ๋ฌธ์ œ๋“ค๋ฅผ ๋‹ค ํ•ด๊ฒฐํ•œ ๋’ค ์•„๋ž˜ ์„ค๋ช…๋Œ€๋กœ ์ง์ ‘ ์›น์‚ฌ์ดํŠธ์— ๊ฐ€์„œ ์‹คํ–‰ํ•ด๋ณด์„ธ์š”:
5. ๋ฌธ์ œ๋“ค๋ฅผ ๋‹ค ํ•ด๊ฒฐํ•œ ๋’ค ์•„๋ž˜ ์„ค๋ช…๋Œ€๋กœ ์ง์ ‘ ์›น์‚ฌ์ดํŠธ์— ๊ฐ€์„œ ์‹คํ–‰ํ•ด๋ณด์„ธ์š”:

> ๐Ÿšง ์ฃผ๋ชฉ!! ์•„๋ž˜ ๋‹จ๊ณ„๋ฅผ ์‹คํ–‰ ๋„์ค‘ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•  ์‹œ ์œ„์— ๋‹จ๊ณ„2๋ฅผ ๋‹ค์‹œ ์‹คํ–‰ํ•ด Nft Marketplace List ์Šค๋งˆํŠธ๊ณ„์•ฝ์„ ๋กœ์ปฌ ๋„คํŠธ์›Œํฌ์— ์žฌ๋ฐฐํฌ ํ•œ ํ›„ app id ๊ฐ’์„ ๊ต์ฒดํ•œ ๋’ค ์ง„ํ–‰ํ•ด์ฃผ์„ธ์š”!
#### 1. ๋กœ์ปฌ ์ง€๊ฐ‘ ์—ฐ๊ฒฐ
- `Wallet Connection` ๋ฒ„ํŠผ์„ ๋ˆŒ๋Ÿฌ ๋กœ์ปฌ ์ง€๊ฐ‘์„ ์—ฐ๊ฒฐํ•˜์„ธ์š”.
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const marketplaceListAppId = 1018
export const marketplaceListAppId = 1018 //ํ…Œ์ŠคํŠธ ์ค‘ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•˜๋ฉด ๋งˆ์ผ“ํ”Œ๋ ˆ์ด์Šค ๋ฆฌ์ŠคํŠธ ์Šค๋งˆํŠธ๊ณ„์•ฝ์„ ์žฌ๋ฐฐํฌํ•˜๊ณ  ์ƒˆ๋กœ์šด app id๋กœ ๊ต์ฒดํ•ด์ฃผ์„ธ์š”.

0 comments on commit b12c0d2

Please sign in to comment.