Giter VIP home page Giter VIP logo

flow-js-sdk's Introduction

FLOW-JS-SDK Continuous Integration

Introducing @onflow/fcl

Flow's JavaScript SDK was created to make developing JavaScript applications that connect to the Flow blockchain easy and secure.

While it would be possible to create a Flow wallet as a browser plugin, we specifically created @onflow/fcl so that web-based dapps don’t have to depend on browser plugins. @onflow/fcl is able to connect browser-based dapps to a wallet service, or a wallet installed on your phone or running on your local computer without introducing the security risks that can come from installing a browser plugin.

Wallet Discovery

@onflow/fcl also eliminates the need for dapp developers to write code to integrate their user's preferred wallet into their application. Instead,@onflow/fcl uses a secure discovery protocol that wallets can implement to connect to @onflow/fcl. The end result is dapps using @onflow/fcl automatically integrate all compatible wallets without their developers needing to write any custom code!

Limitless Development

@onflow/fcl enables cross-platform dapps. By not depending on JavaScript injection as a mechanism for connecting dapps with wallets, native desktop dapps and mobile dapps can connect to the same wallet software as browser dapps.

Getting Started with FCL

To use the Flow JavaScript SDK in your application, install using yarn or npm

npm i -S @onflow/fcl @onflow/types

Learn to use @onflow/fcl: Flow App Quickstart


Requirements

Please note, that some code provided - e.g. Object.fromEntries - will require Node version v12.0.0 or higher.

Overview

  • Higher Level

  • Lower Level

    • @onflow/protobuf -- Dependency of send. Provides transport between the browser and the Flow blockchain.
    • interaction -- A data structure that can be built, resolved and sent to the Flow blockchain.
    • response -- A data structure that represents a response from the Flow blockchain. If the interaction returns something, it can be decoded without something like an ABI.
    • encode -- Transactions needs signatures, this module knows how to create the values that get signed.
  • Development Tools

flow-js-sdk's People

Contributors

jeffreydoyle avatar orodio avatar gregsantos avatar 10thfloor avatar psiemens avatar boczeratul avatar benjaminkvm avatar janezpodhostnik avatar cybercent avatar alxocity avatar maxstalker avatar brodieve avatar kzucky avatar timmymmit avatar traeregan avatar githubwei avatar tomonari-t avatar

Watchers

James Cloos 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.