๋ธ”๋ก์ฒด์ธ 8

[NFT] ERC-721(NFT) ํ† ํฐ ๋ฐฐํฌ, ๋“ฑ๋ก

ERC721(NFT) ํ† ํฐ ๋ฐฐํฌ์‹œ ์ค€๋น„์‚ฌํ•ญ - ๋ฉ”ํƒ€๋งˆ์Šคํฌ - IPFX - IDE REMIX ์Šค๋งˆํŠธ๊ณ„์•ฝ ๋ฐฐํฌํ•˜๊ณ  ์ปดํŒŒ์ผ ํ…Œ์ŠคํŠธ ์ด๋” ์–ป๊ธฐ IPFS ์„ค์น˜ ๋ฉ”ํƒ€๋ฐ์ดํ„ฐ ์ •๋ณด๋ฅผ ์ €์žฅํ•  ๋ถ„์‚ฐํŒŒ์ผ์‹œ์Šคํ…œ - ์˜คํ”ˆ์”จ์—์„œ ์ œ๊ณตํ•˜๋Š” ๋ฉ”ํƒ€๋ฐ์ดํ„ฐ ๊ทœ๊ฒฉ ๋ฆฌ๋ฏน์Šค - ERC-721 ์˜คํ”ˆ์†Œ์Šค import ํ•˜๊ธฐ - ์Šค๋งˆํŠธ ์ปจํŠธ๋ž™ํŠธ : newNFT - nft : "STNF" - ๋ฆฌ๋ฏน์Šค ํ™˜๊ฒฝ ๋ฐ”๊ฟ”์„œ ๋ฉ”ํƒ€๋งˆ์Šคํฌ๋ž‘ ์—ฐ๊ฒฐ์‹œํ‚ค๊ธฐ - ๊ณ„์•ฝ deploy ๋ˆŒ๋Ÿฌ์„œ ๋ฐฐํฌํ•ด์ฃผ๊ธฐ - mint ๊ณผ์ • : ๋‚ด ๋ฉ”ํƒ€๋งˆ์Šคํฌ ๊ณ„์ • ์ฃผ์†Œ, ํ† ํฐ id, ๋ฉ”ํƒ€๋ฐ์ดํ„ฐ uri ์ž…๋ ฅํ•ด์„œ transact ๋ˆŒ๋Ÿฌ์คŒ - ๋ฏผํŒ… ์„ฑ๊ณต - ๋ฏผํŠธ ๋ˆŒ๋Ÿฌ์„œ ๋ธ”๋กํƒ์ƒ‰๊ธฐ๋กœ ๊ฐ€๊ธฐ - ํ† ํฐID ํด๋ฆญ - ๋ฉ”ํƒ€๋งˆ์Šคํฌ์—์„œ ํ† ํฐ ๊ฐ€์ ธ์˜ค๊ธฐ ํด๋ฆญ - ํ† ํฐ ๊ณ„์•ฝ ์ฃผ์†Œ, ํ† ํฐ Symbol : "STNF", ํ† ํฐ ์‹ญ์ง„์ˆ˜..

[์ด๋”๋ฆฌ์›€ ๋ธ”๋ก์ฒด์ธ ๊ฐœ๋ฐœ] Solidity_Simple Variables

๊ฐ•์˜์ž๋ฃŒ : https://ethereum-blockchain-developer.com/010-solidity-basics/01-integers/ (Unsigned) Integer Boolean Overflow and Underflow Address Types Strings (Unsigned) Integers - ๋ชจ๋“  ๋ณ€์ˆ˜ ์œ ํ˜•๊ณผ ์ƒ๊ด€์—†์ด ๊ธฐ๋ณธ๊ฐ’์œผ๋กœ ์ดˆ๊ธฐํ™” - ์˜ค๋ฅ˜๋‚˜ ์ •์˜๋˜์ง€ ์•Š์€ ๊ฐ’์ด๋‚˜ null๊ฐ’ ์–ป์„ ์ˆ˜ ์—†์Œ - uint = uint256 - setMyuint ์—์„œ ์„ค์ • ํ•œ ๊ฐ’ myUint์— ๋ฐ˜์˜ / ex.5 Boolean - Boolean ๊ฐ’์œผ๋กœ ์Šค๋งˆํŠธ ์ปจํŠธ๋ž™ํŠธ ์—ฐ์žฅ - Boolean : true or false ๋‘๊ฐ€์ง€ ๊ฐ’๋งŒ ๊ฐ€์ง - ์žฌ๊ณ„์•ฝ - ๊ธฐ๋ณธ๊ฐ’ : false - setMyBool : true..

[์ด๋”๋ฆฌ์›€ ๋ธ”๋ก์ฒด์ธ ๊ฐœ๋ฐœ] ๋ธ”๋ก์ฒด์ธ ๋…ธ๋“œ

๊ฐœ๋ฐœ ๋ฆฌ๋ฏน์Šค ; Environment Injected Web3 : ๋ฉ”ํƒ€๋งˆ์Šคํฌ ๊ณ„์ • ์‚ฌ์šฉ JavaScript VM ์„ค์ • : ๋ฐ”๋กœ ๊ณ„์ • ๋ฐ”๋€Œ๋Š” ๊ฑฐ ํ™•์ธ ๊ฐ€๋Šฅ ** ์‹ ์› ๋ฐ”๊ฟ”์„œ ๋‹ค๋ฅธ์‚ฌ๋žŒ์ธ ์ฒ™ ๊ณ„์•ฝ ๋ฐฐํฌ ๊ฐ€๋Šฅ.. ๋‹ค์Œ ์˜์ƒ ๊ฐ€๋‚˜์Šˆ (์™ธ๋ถ€ ๋…ธ๋“œ) ์„ค์น˜ : https://trufflesuite.com/ganache/ Home - Truffle Suite SIGN UP FOR THE TRUFFLE MAILING LIST Sign up today to be a member of the Truffle mailing list. You'll be added to our low volume mailing list which we'll use to communicate future changes, development idea..

[์ด๋”๋ฆฌ์›€ ๋ธ”๋ก์ฒด์ธ ๊ฐœ๋ฐœ] ์Šค๋งˆํŠธ ์ปจํŠธ๋ž™ํŠธ ๋ฐฐํฌ

๊ฐ•์˜ ์˜์ƒ - Solidity๋ฅผ ์‚ฌ์šฉํ•œ ์ด๋”๋ฆฌ์›€ ๋ธ”๋ก์ฒด์ธ ๊ฐœ๋ฐœ์ž ๋ถ€ํŠธ์บ ํ”„ (2022) : https://www.udemy.com/course/solidity-ethereum-bootcamp/learn/lecture/31207252#questions ๊ฐ•์˜ ์ž๋ฃŒ : https://ethereum-blockchain-developer.com/003-first-smart-contract/01-setup-remix/ ์†”๋ฆฌ๋””ํ‹ฐ : https://remix.ethereum.org/ Remix - Ethereum IDE remix.ethereum.org ๊ฐœ๋ฐœ - pragma solidity ^0.8.1; : ์†”๋ฆฌ๋””ํ‹ฐ ๋ฒ„์ „ ์„ค์ • - ๋ฐฐํฌ์™€ ํŠธ๋žœ์žญ์…˜ ์‹คํ–‰ํƒญ Injected Web3 ์„ ํƒ : ๋ฉ”ํƒ€๋งˆ์Šคํฌ ๋ฆฌ๋ฏน์Šค ID ์—ฐ๊ฒฐ /..

[์ด๋”๋ฆฌ์›€ ๋ธ”๋ก์ฒด์ธ ๊ฐœ๋ฐœ] ๋ธ”๋ก ์—ฐ๊ฒฐ ๋ฐฉ์‹

๊ฐ•์˜ ์˜์ƒ - Solidity๋ฅผ ์‚ฌ์šฉํ•œ ์ด๋”๋ฆฌ์›€ ๋ธ”๋ก์ฒด์ธ ๊ฐœ๋ฐœ์ž ๋ถ€ํŠธ์บ ํ”„ (2022) : https://www.udemy.com/course/solidity-ethereum-bootcamp/learn/lecture/31207252#questions ๊ฐ•์˜ ์ž๋ฃŒ : https://ethereum-blockchain-developer.com/002-first-transaction/02-transfer-ether/ web3js : https://web3js.readthedocs.io/en/v1.2.11/web3-eth.html#sendtransaction ์ด๋”์Šค์บ” : https://etherscan.io/ Ethereum (ETH) Blockchain Explorer Etherscan allows you to ..

[์ด๋”๋ฆฌ์›€ ๋ธ”๋ก์ฒด์ธ ๊ฐœ๋ฐœ] ์ด๋”๋ฆฌ์›€ ํŠธ๋žœ์žญ์…˜, ํŠธ๋žœ์žญ์…˜ ์„œ๋ช…

๊ฐ•์˜ ์˜์ƒ - Solidity๋ฅผ ์‚ฌ์šฉํ•œ ์ด๋”๋ฆฌ์›€ ๋ธ”๋ก์ฒด์ธ ๊ฐœ๋ฐœ์ž ๋ถ€ํŠธ์บ ํ”„ (2022) : https://www.udemy.com/course/solidity-ethereum-bootcamp/learn/lecture/31207252#questions ๊ฐ•์˜ ์ž๋ฃŒ : https://ethereum-blockchain-developer.com/002-first-transaction/02-transfer-ether/ web3js : https://web3js.readthedocs.io/en/v1.2.11/web3-eth.html#sendtransaction web3.eth — web3.js 1.0.0 documentation The web3-eth package allows you to interact with ..