All Projects → onflow → Kitty Items

onflow / Kitty Items

Based on CryptoKitties, Kitty Items is an example of a full-stack dapp built on Flow.

Programming Languages

javascript
184084 projects - #8 most used programming language
flow
126 projects

Projects that are alternatives of or similar to Kitty Items

Eth Hodler
A simple DApp & ERC20 token written in Solidity running on the Ethereum blockchain www.hdao.org
Stars: ✭ 31 (-68.37%)
Mutual labels:  blockchain, dapp
Ethereumbook
Mastering Ethereum, by Andreas M. Antonopoulos, Gavin Wood
Stars: ✭ 11,663 (+11801.02%)
Mutual labels:  blockchain, dapp
Disperse
React/Redux dApp (decentralized app) boilerplate using Ethereum's blockchain
Stars: ✭ 36 (-63.27%)
Mutual labels:  blockchain, dapp
Blockchain
블록체인 공부 중입니다.
Stars: ✭ 22 (-77.55%)
Mutual labels:  blockchain, dapp
Web Sdk
Portis Web SDK
Stars: ✭ 65 (-33.67%)
Mutual labels:  blockchain, dapp
Eosocial
Deprecated - 📝 Sample dApp of Votable SNS run by EOS Testnet.
Stars: ✭ 14 (-85.71%)
Mutual labels:  blockchain, dapp
Eos Mainnet
Ansible repo for setting up an EOS RPC API node and syncing to the mainnet
Stars: ✭ 45 (-54.08%)
Mutual labels:  blockchain, dapp
Client
(Aragon 1) Create and manage decentralized organizations on Ethereum.
Stars: ✭ 733 (+647.96%)
Mutual labels:  blockchain, dapp
The Journal Of Blockchain
区块链自媒体、专注区块链技术学习和实践、IPFS/Filecoin、Bitcoin、Ethereum、EOS、Cosmos、区块链、白皮书、Coinmarketcap、Coindesk、Safe Network、Telegram、Docker、社会治理、经济激励
Stars: ✭ 63 (-35.71%)
Mutual labels:  blockchain, dapp
Subspace
Library for Reactive Dapp Development with auto syncing and caching capabilities
Stars: ✭ 57 (-41.84%)
Mutual labels:  blockchain, dapp
Snax
Decentralized Social Media Overlay
Stars: ✭ 18 (-81.63%)
Mutual labels:  blockchain, dapp
Dfile
[Python + Flask] DFile: A fancy S3-based file sharing mode
Stars: ✭ 79 (-19.39%)
Mutual labels:  blockchain, dapp
Blockchain Reading List
Blockchain Manchester Meetups, Talks and Reading List
Stars: ✭ 17 (-82.65%)
Mutual labels:  blockchain, dapp
Web3studio Sojourn
A React Native DevKit with code for a Web3 Decentralized Data Storage Pattern.
Stars: ✭ 29 (-70.41%)
Mutual labels:  blockchain, dapp
Awesome Blockchain
区块链白皮书、书籍、交易所、币种、自媒体等资源汇总 💯
Stars: ✭ 747 (+662.24%)
Mutual labels:  blockchain, dapp
Blockchain
区块链、交易所、币种、自媒体、高频交易策略
Stars: ✭ 37 (-62.24%)
Mutual labels:  blockchain, dapp
Asch
Asch is an efficient, flexible, safe and decentralized application platform, which was initially designed to lower the barrier to entry for developers.The services provided by the Asch platform include a public chain and a set of application SDKs.
Stars: ✭ 484 (+393.88%)
Mutual labels:  blockchain, dapp
Go Iost
Official Go implementation of the IOST blockchain
Stars: ✭ 523 (+433.67%)
Mutual labels:  blockchain, dapp
Trace
Supply chain transparency platform proof-of-concept based on the Ethereum blockchain ✍️
Stars: ✭ 52 (-46.94%)
Mutual labels:  blockchain, dapp
React Native Blockchain Poll
Source code of bringing-the-blockchain-to-react-native blog post.
Stars: ✭ 75 (-23.47%)
Mutual labels:  blockchain, dapp

👋 Welcome! This demo app was created to help you learn how to build on Flow.

  • Kitty Items is a complete NFT marketplace built with Cadence, Flow's resource-oriented smart contract programming language.
  • Learn how to deploy contracts, mint NFTs, and integrate user wallets with the Flow Client Library (FCL).

🎬 Live Demo

Check out the live demo of Kitty Items, deployed on IPFS and the Flow Testnet.

✨ Getting Started

1. Install the Flow CLI

Before you start, install the Flow command-line interface (CLI).

⚠️ This project requires flow-cli v0.15.0 or above.

2. Clone the project

git clone https://github.com/onflow/kitty-items.git

3. Create a Flow Testnet account

You'll need a Testnet account to work on this project. Here's how to make one:

Generate a key pair

Generate a new key pair with the Flow CLI:

flow keys generate

⚠️ Make sure to save these keys in a safe place, you'll need them later.

Create your account

Go to the Flow Testnet Faucet to create a new account. Use the public key from the previous step.

Save your keys

After your account has been created, save the address and private key to the following environment variables:

# Replace these values with your own!
export FLOW_ADDRESS=0xabcdef12345689
export FLOW_PRIVATE_KEY=xxxxxxxxxxxx

4. Deploy the contracts

flow project deploy --network=testnet

5. Run the API

After the contracts are deployed, follow the Kitty Items API instructions to install and run the Kitty Items API. This backend service is responsible for initializing accounts, minting NFTs, and processing events.

6. Launch the web app

Lastly, follow the Kitty Items Web instructions to launch the Kitty Items front-end React app.

Project Overview

Project Overview

🔎 Legend

Above is a basic diagram of the parts of this project contained in each folder, and how each part interacts with the others.

1. Web App (Static website) | kitty-items/web

A true dapp, client-only web app. This is a complete web application built with React that demonstrates how to build a static website that can be deployed to an environment like IPFS and connects directly to the Flow blockchain using @onflow/fcl. No servers required. @onflow/fcl handles authentication and authorization of Flow accounts, signing transactions, and querying data using using Cadence scripts.

2. Look Ma, a Web Server! | kitty-items/api

We love decentralization, but servers are still very useful, and this one's no exception. The code in this project demonstrates how to connect to Flow using Flow JavaScript SDK from a Node JS backend. It's also chalk-full of handy patterns you'll probably want to use for more complex and feature-rich blockchain applications, like storing and querying events using a SQL database (Postgres). The API demonstrates how to send transactions to the Flow Blockchain, specifically for minting Kibbles (fungible tokens) and Kitty Items (non-fungible tokens).

3. Cadence Code | kitty-items/cadence

Cadence smart contracts, scripts & transactions for your viewing pleasure. This folder contains all of the blockchain logic for the marketplace application. Here you will find examples of fungible token and non-fungible token (NFT) smart contract implementations, as well as the scripts and transactions that interact with them. It also contains examples of how to test your Cadence code (tests written in Golang).

😺 What are Kitty Items?

Items are hats for your cats, but under the hood they're non-fungible tokens (NFTs) stored on the Flow blockchain.

Items can be purchased from the marketplace with fungible tokens. In the future you'll be able to add them to Ethereum CryptoKitties with ownership validated by an oracle.

❓ More Questions?


🚀 Happy Hacking!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].