Git Product home page Git Product logo

scaffold-flow's Introduction

Scaffold-Flow

๐Ÿ— Forkable Flow dev stack focused on fast product iterations

Features Provided

  • FCL setup and configuration
  • Wallet Discovery (including Dev Wallet on Emulator)
  • CLI private key separation for security
  • Flow.json loading for contract placeholders
  • Deployment

Featues TODO

  • Mainnet deployment
  • JS Testing

Getting Started

Prerequisites

Setup

  1. Clone/Fork ๐Ÿ— scaffold-flow repository to your local machine:
git clone https://github.com/onflow/scaffold-flow.git
  1. install required packages:
cd scaffold-flow
npm install

Running your App

You will be able to run you app locally on the flow emulator immediately after forking! For running on Testnet, you will need to make some configuration changes.

Emulator

  1. In your terminal, use this Flow-CLI command to initialize the flow blockchain emulator:
flow emulator start
  1. In a different terminal, use this Flow-CLI command to initilize the Dev Wallet:
flow dev-wallet
  1. In a different terminal, use this Flow-CLI command to deploy and manage your contracts. This listener will automatically update and redeploy your contracts as you work!
flow dev

Ensure your account address is prefixed with 0x. Add the prefix if missing.

"default": {
  "address": "0x0000000000000000", // confirm this address has the prefix
  "key": "0000000000000000000000000000000000000000000000000000000000000000"
},
  1. In a different terminal (Last one, promise!), use this command to deploy your contract(s) and initialize the App:
npm run dev
  1. You're done! Checkout the App at http://localhost:3000

scaffold-flow's People

Contributors

mrdsgc avatar fotescodev avatar justinbarry avatar

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.