Giter VIP home page Giter VIP logo

gacha-nft-collection's Introduction

NFTガチャ

概要

本プロジェクトはNFTコレクションにガチャの要素を持たせたサンプルアプリであり、NFTコレクションにガチャの要素・機能を持たせるためのインターフェイスを提供する。

背景

web2の領域においてデジタルアイテムの収集といえばソーシャルゲームなどのガチャが一般的である。 ブロックチェーンやNFT、仮想通貨に馴染みのない非cryptoユーザーにデジタルアイテムのコレクションに興味を持ってもらうにはこのガチャという要素をdappsに取り入れることがNFTの普及への近道かもしれない、と思っている。

イメージ図

accounts

アカウント作成

flow accounts create 

transactions

アカウントセットアップ

flow transactions send ./cadence/transactions/setup_account.cdc --signer alice

minter準備

flow transactions send ./cadence/transactions/setup_nft_minter.cdc --signer default

mint

flow transactions send ./cadence/transactions/lottery_mint.cdc --signer default eb179c27144f783c

destroy collection

flow transactions send ./cadence/transactions/destroy_collection.cdc --signer default

scripts

flow scripts execute ./cadence/scripts/get_amounts.cdc eb179c27144f783c

deploy contract

flow project deploy --network=testnet

update contract

flow accounts update-contract ./cadence/contracts/GachaNFT.cdc --signer bob --network testnet

gacha-nft-collection's People

Contributors

jy8752 avatar

Watchers

 avatar

gacha-nft-collection's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.