Skip to content

algorand-devrel/blockchain-valley-session-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

๐ŸŽ“ ๋ธ”๋ก์ฒด์ธ ๋ฐธ๋ฆฌ X ์•Œ๊ณ ๋žœ๋“œ ๊ฐœ๋ฐœ์ž ๋ถ€ํŠธ์บ ํ”„

๐Ÿšฉ ์„ธ์…˜ 1: ์•Œ๊ณ ํ‚ท ์œ ํ‹ธ๋ฆฌํ‹ฐ ๋ผ์ด์–ด๋ฒ„๋ฆฌ๋ฅผ ์‚ฌ์šฉํ•ด ์—ฌ๋Ÿฌ ํŠธ๋žœ์žญ์…˜์„ ๋ณด๋‚ด๋ณด์ž!

์ฒซ๋ฒˆ์งธ ์•Œ๊ณ ๋žœ๋“œ ๊ฐœ๋ฐœ์ž ๋ถ€ํŠธ์บ ํ”„์— ์˜ค์‹  ๋ธ”๋ก์ฒด์ธ ๋ฐธ๋ฆฌ ํ•™ํšŒ์›๋ถ„๋“ค ๋ฐ˜๊ฐ‘์Šต๋‹ˆ๋‹ค~!

์„ธ๋ถ€ ์ผ์ •:

  1. ์•Œ๊ณ ๋žœ๋“œ ๊ธฐ์ดˆ ๊ฐœ๋… ์•Œ์•„๋ณด๊ธฐ (30๋ถ„)
  2. ์ฝ”๋“œ ๋ฐ๋ชจ: algokit utils typescript๋ฅผ ์‚ฌ์šฉํ•ด์„œ ์•Œ๊ณ  ์†ก๊ธˆํ•˜๋Š”๋ฒ• ๋ฐฐ์šฐ๊ธฐ (30๋ถ„)
  3. ์ฝ”๋”ฉ ์„ธ์…˜: ์—ฌ๋Ÿฌ ์•Œ๊ณ ๋žœ๋“œ ๊ธฐ๋Šฅ๋“ค๊ณผ ํŠธ๋žœ์žญ์…˜์„ ํ™œ์šฉํ•ด์„œ ํŠน์ • ์‹œ๋‚˜๋ฆฌ์˜ค ๊ตฌ์ถ•ํ•ด๋ณด๊ธฐ (2์‹œ๊ฐ„)

์ด๋ฒˆ ์ฝ”๋”ฉ ์„ธ์…˜์—์„œ๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์€ ์‹œ๋‚˜๋ฆฌ์˜ค๋ฅผ algokit utils typescript ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ์‚ฌ์šฉํ•ด์„œ ๊ตฌํ˜„ํ•ด๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค.

์‹œ๋‚˜๋ฆฌ์˜ค: ์•จ๋ฆฌ์Šค๋Š” ์• ํ”Œ ๋น„์ „ ํ”„๋กœ๊ฐ€ ๋„ˆ๋ฌด ์‚ฌ๊ณ ์‹ถ์—ˆ์ง€๋งŒ ํ•œ๊ตญ์—์„œ๋Š” ํŒ”์ง€ ์•Š์•„์„œ ๋ฏธ๊ตญ์— ์žˆ๋Š” ํฌ๋ฆฌ์Šค์—๊ฒŒ ๋Œ€์‹  ์‚ฌ๋‹ฌ๋ผ๊ณ  ๋ถ€ํƒํ•˜๊ธฐ๋กœ ํ•ฉ๋‹ˆ๋‹ค. ํฌ๋ฆฌ์Šค๋Š” ์•จ๋ฆฌ์Šค์—๊ฒŒ ์• ํ”Œ ๋น„์ „ ํ”„๋กœ๋ฅผ ์‚ฌ์ฃผ๋Š” ๋Œ€์‹  ์ด์ž 10%๋ฅผ ๋‹ฌ๋ผ๊ณ  ์š”๊ตฌํ–ˆ์Šต๋‹ˆ๋‹ค. ์•จ๋ฆฌ์Šค๋Š” ํฌ๋ฆฌ์Šค์˜ ์กฐ๊ฑด์— ๋™์˜ํ–ˆ๊ณ  ํฌ๋ฆฌ์Šค๋Š” ์•จ๋ฆฌ์Šค ๋Œ€์‹  ๋ฐฅ์œผ๋กœ ๋ถ€ํ„ฐ ์• ํ”Œ ๋น„์ „ ํ”„๋กœ๋ฅผ ๊ตฌ๋งคํ•˜๊ธฐ๋กœ ํ•ฉ๋‹ˆ๋‹ค. ๋ฐฅ์€ ํฌ๋ฆฌ์Šค์—๊ฒŒ๋กœ๋ถ€ํ„ฐ ๋ˆ์„ ๋ฐ›์œผ๋ฉด ์•จ๋ฆฌ์Šค์—๊ฒŒ ์• ํ”Œ ๋น„์ „ ํ”„๋กœ๋ฅผ ๋ณด๋‚ด๊ฒ ๋‹ค๊ณ  ํ•ฉ๋‹ˆ๋‹ค. ์ด๋ ‡๊ฒŒ 3์ž ๊ฑฐ๋ž˜๊ฐ€ ์„ฑ๋ฆฝ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ์ด ๊ฑฐ๋ž˜๊ฐ€ ๊ณต์ •ํ•˜๊ฒŒ ์ด๋ฃจ์–ด์ง€๋ ค๋ฉด ๊ผญ 3๊ฐœ์˜ ํŠธ๋žœ์žญ์…˜์ด ๋™์‹œ์— ์ฒด๊ฒฐ๋˜์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

์ด ์ƒ์ƒ์˜ ์„ธ๊ณ„์—์„œ๋Š” ๋น„์ „ ํ”„๋กœ์˜ ๊ฐ€๊ฒฉ์€ 100 ALGO์ž…๋‹ˆ๋‹ค (๋ถ€๋Ÿฝ๋‹ค... ใ… _ใ… )

์ฝ”๋”ฉ ๊ณผ์ œ๋Š” ์ด 5๋ฌธ์ œ๋กœ ๊ตฌ์„ฑ๋˜์–ด ์žˆ์œผ๋ฉฐ ๊ฐ ๋ฌธ์ œ์— "*** ์—ฌ๊ธฐ์— ์ฝ”๋“œ ์ž‘์„ฑ ***" ๋ถ€๋ถ„์— ์ฝ”๋“œ๋ฅผ ์ž‘์„ฑํ•˜์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค. ๋ฐ‘์— ์ฒดํฌํฌ์ธํŠธ๋“ค์„ ๋”ฐ๋ผ์„œ ์ง„ํ–‰ํ•ด์ฃผ์„ธ์š”.

์ฒดํฌํฌ์ธํŠธ 1: ๐Ÿงฐ ์•Œ๊ณ ๋žœ๋“œ ๊ฐœ๋ฐœ์— ํ•„์š”ํ•œ ํˆดํ‚ท ์„ค์น˜

  1. AlgoKit ์„ค์น˜.
  2. Docker ์„ค์น˜. It is used to run a local Algorand network for development.
  3. Node.JS / npm ์„ค์น˜

์ฒดํฌํฌ์ธํŠธ 2: ๐Ÿ’ป ๊ฐœ๋ฐœ ํ™˜๊ฒฝ ์…‹์—…

  1. ์ด ๋ฆฌํฌ๋ฅผ fork ํ•ด์ฃผ์„ธ์š”.
  2. Forkํ•œ ๋ฆฌํฌ๋ฅผ git clone ํ•ด์ฃผ์„ธ์š”.
cd [DIRECTORY_OF_YOUR_CHOICE]
git clone [FORKED_REPO_URL]
  1. VSCode์—์„œ ์ด ํด๋”๋ฅผ ์—ด๋žŒํ•ด์ฃผ์„ธ์š”.
  2. ์—ด๋žŒ ํ›„ VSCode ํ„ฐ๋ฏธ๋„์—์„œ algokit project bootstrap all ์ปค๋งจ๋“œ๋ฅผ ์‹คํ–‰์‹œ์ผœ dependencies๋“ค์„ ์„ค์น˜ํ•ด์ฃผ์„ธ์š”.
algokit project bootstrap all

๋ฆฌํฌ fork, clone ํŠœํ† ๋ฆฌ์–ผ: https://github.com/algorand-fix-the-bug-campaign/challenge-1/assets/52557585/acde8053-a8dd-4f53-8bad-45de1068bfda

์ฒดํฌํฌ์ธํŠธ 3: ๐Ÿ“ ๋ฌธ์ œ๋ฅผ ํ•ด๊ฒฐํ•˜์„ธ์š”!

  1. ๋„์ปค ๋ฐ์Šคํฌํƒ‘์„ ์‹คํ–‰ํ•œ ๋’ค ํ„ฐ๋ฏธ๋„์—์„œ algokit localnet start ์ปค๋งจ๋“œ๋กœ ๋กœ์ปฌ ๋„คํŠธ์›Œํฌ๋ฅผ ์‹คํ–‰์‹œ์ผœ์ฃผ์„ธ์š”.๋” ์ž์„ธํžˆ ์•Œ๊ณ  ์‹ถ๋‹ค๋ฉด ์—ฌ๊ธฐ๋ฅผ ํด๋ฆญํ•ด์ฃผ์„ธ์š”!.
  2. index.ts ํŒŒ์ผ๋กœ ๊ฐ€์…”์„œ ์„ค๋ช…์„ ์ฝ์œผ์‹œ๊ณ  ๋ฌธ์ œ๋“ค์„ ํ•ด๊ฒฐํ•ด๋ณด์„ธ์š”.
  3. ๋ฌธ์ œ๋ฅผ ๋‹ค ํ•ด๊ฒฐํ•œ ๋’ค ํ„ฐ๋ฏธ๋„์—์„œ npm run start ์ปค๋งจ๋“œ๋ฅผ ์‹คํ–‰ํ•˜์‹œ๋ฉด index.ts ํŒŒ์ผ์„ ์‹คํ–‰ํ•˜์‹ค ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์‹คํ–‰ ํ›„ ๋‹ค์Œ๊ณผ ๊ฐ™์€ ์ฝ˜์†” ๊ฐ’์ด ์ถœ๋ ฅ๋˜๋ฉด ์„ฑ๊ณต์ ์œผ๋กœ ๋ชจ๋“  ๋ฌธ์ œ๋ฅผ ํ•ด๊ฒฐํ•˜์‹ ๊ฒ๋‹ˆ๋‹ค!

alt text

๐Ÿ˜ฐ ํžŒํŠธ๊ฐ€ ํ•„์š”ํ•˜์‹ ๊ฐ€์š”? ์•Œ๊ณ ๋žœ๋“œ ํด๋ผ์ด์–ธํŠธ ๊ธฐ๋Šฅ๋“ค: https://github.com/algorandfoundation/algokit-utils-ts/blob/main/docs/code/classes/types_algorand_client.AlgorandClient.md

์ฒดํฌํฌ์ธํŠธ 4: ๐Ÿ’ฏ ๊ณผ์ œ ์ œ์ถœํ•˜๋Š” ๋ฐฉ๋ฒ•

  1. ์„ฑ๊ณต์ ์œผ๋กœ ๋‹ค์„ฏ ๋ฌธ์ œ๋ฅผ ํ•ด๊ฒฐํ•œ ํ›„ ๋ณธ์ธ์ด forkํ•œ ๊นƒํ—™ ๋ฆฌํฌ๋กœ ์ฝ”๋“œ๋ฅผ ํ‘ธ์‰ฌํ•ด์ฃผ์„ธ์š”. ๊ทธ๋Ÿฐ ๋‹ค์Œ ์›๋ž˜์˜ ๋ฆฌํฌ๋กœ Pull request๋ฅผ ํ•ด์ฃผ์„ธ์š”.
  2. Pull Request ํ• ๋•Œ index.ts๋ฅผ ์‹คํ–‰์‹œ์ผœ ์ถœ๋ ฅ๋œ ๊ฐ’์„ ๋ณด์—ฌ์ฃผ๋Š” ํ„ฐ๋ฏธ๋„์˜ ์Šคํฌ๋ฆฐ์ƒท์„ ์ฒจ๋ถ€ํ•ด์ฃผ์„ธ์š”.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published