본문 바로가기
728x90
반응형
SMALL

Blockchain5

블록체인 하나씩 알아보기 :: Market 코인을 만들었어요. 2022.07.19 - [IT 인터넷/Blockchain] - 블록체인 하나씩 알아보기 :: ERC20 address) private nftOwners; mapping(uint256 => uint256) private nftPrices; function initialize(address coinContract, address nftContract) public onlyOwner { _coinContract = coinContract; _nftContract = nftContract; } function sellNFT(uint256 tokenId, uint256 coinAmount) public { ERC721(_nftContract).transferFrom(msg.sender, add.. 2022. 7. 20.
블록체인 하나씩 알아보기 :: ERC721 코인은 만들었고요. 2022.07.19 - [IT 인터넷/Blockchain] - 블록체인 하나씩 알아보기 :: ERC20 2022. 7. 19.
블록체인 하나씩 알아보기 :: ERC20 mint와 burn을 제공하는 간단한 것부터 해볼게요. BanjubuCoin.sol // SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract BanjubuCoin is ERC20, ERC20Burnable, Ownable { constructor() ERC20("BanjubuCoin", "BJB") {} function m.. 2022. 7. 19.
[블록체인/NFT] 이미지 생성부터 오픈씨까지 (Rinkeby/Ethereum) 이미지 생성 등은 이전 글에서 참고할 수 있어요. 2022.04.30 - [IT 인터넷/일반] - [NFT] 이미지 생성부터 오픈씨까지 (Mumbai/Polygon) [NFT] 이미지 생성부터 오픈씨까지 (Mumbai/Polygon) 간단하게 아래 프로젝트에 들어있는 이미지를 이용할께요. https://github.com/HashLips/hashlips_art_engine GitHub - HashLips/hashlips_art_engine: HashLips Art Engine is a tool used to create multiple di.. banjubu.tistory.com 새 폴더를 만들고 터미널을 연 다음 아래 코드를 실행해요. $ npm init -y $ npm install -g truffl.. 2022. 5. 3.
[블록체인/NFT] 이미지 생성부터 오픈씨까지 (Mumbai/Polygon) 간단하게 아래 프로젝트에 들어있는 이미지를 이용할께요. https://github.com/HashLips/hashlips_art_engine GitHub - HashLips/hashlips_art_engine: HashLips Art Engine is a tool used to create multiple different instances of artworks bas HashLips Art Engine is a tool used to create multiple different instances of artworks based on provided layers. - GitHub - HashLips/hashlips_art_engine: HashLips Art Engine is a tool used to.. 2022. 4. 30.
728x90
반응형
LIST