목록블록체인 (7)
반업주부의 일상 배움사
> English Summary > English Full Text Elon Musk Releasing EXCLUSIVE Tesla Model Pi Phone At This Date! https://www.youtube.com/watch?v=j8veR6YM1gs [ 요약 ] 테슬라가 새로운 스마트폰인 Tesla Pi를 출시할 예정입니다. 이 스마트폰은 다른 스마트폰과는 다르게 뇌와 연결되는 기술을 사용하여, 이전에 본 적 없는 기능을 제공할 것으로 예상됩니다. 또한 이 스마트폰은 블록체인 기술을 활용하여 암호화폐 채굴이 가능하며, 위성 연결을 통해 다른 스마트폰보다 빠른 인터넷 속도를 제공할 것으로 예상됩니다. 또한 태양광 충전 시스템을 사용하여 친환경적인 스마트폰으로도 주목받고 있습니다. 이러한 새로운..
우분투에 IPFS를 설치하고 GUI와 Node.js 서버에서 업로드 할게요. 서버에 설치해요. $ sudo apt-get update $ sudo apt-get -y upgrade $ sudo apt install golang-go -y $ wget https://dist.ipfs.io/go-ipfs/v0.14.0/go-ipfs_v0.14.0_linux-amd64.tar.gz $ tar zxvf go-ipfs_v0.14.0_linux-amd64.tar.gz $ cd go-ipfs $ sudo ./install.sh IPFS를 실행할 때는 단독으로 실행할 수도 있지만 PM2를 이용하는게 좋아요. (자동 관리) PM2: https://pm2.io PM2 - Home Build Battle-Hardened N..
코인을 만들었어요. 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.07.19 - [IT 인터넷/Blockchain] - 블록체인 하나씩 알아보기 :: 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.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..
간단하게 아래 프로젝트에 들어있는 이미지를 이용할께요. 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..