Giter Site home page Giter Site logo

laksa-client-example's Introduction

Simple example using Laksa to access to Zilliqa's Blockchain

Warning: DO NOT USE IT AS PRODUCTION

About this example

We just demostrate how to use Laksa to build a fully front-end app as client-side and have all the abillities to access Zilliqa's blockchain.

Demo: https://Laksa-Client-Example.now.sh/

system requirement

  1. node.js (v10.0.0+)
node -v #check your node.js version
  1. latest npm or yarn (Recommended)
npm i -g yarn #install yarn
  1. google chrome(firefox is not tested yet)

install && run

  1. git clone
git clone [email protected]:FireStack-Lab/Laksa-Client-Example.git && cd Laksa-Client-Example
  1. yarn install
yarn install 
  1. run
yarn start
  1. open browser and access http://localhost:8000

Main Feature

Home

  1. Check connection to Zilliqa's TestNet and Scilla runner(remote)
  2. You can add provider of your own(if you have full-node or scilla-runner runing, http only, NOT WebSocket)

Explorer

  1. You can see recent Transactions/TxBlocks/DsBlocks
  2. You can search Transaction/Address/TxBlock/DsBlock

Wallet

  1. Create Account and encrpyt with password(Not Safe)
  2. Import PrivateKey
  3. See Balance
  4. Set Default Signer(Demostration only)

Contract

  1. Save your scilla code to contract raw code
  2. Deploy with your account and set up Contract ABIs and Transaction Parameters
  3. Call Contract(if deployed)

Transfer

  1. Transfer some token to desired address
  2. Nothing More...

Tools building this example

  1. Laksa, Zilliqa's 3rd party javascript library
  2. Umi.js, Pluggable enterprise-level react application framework.
  3. Dva.js, React and redux based, lightweight and elm-style framework.
  4. antd, A design system with values of Nature and Determinacy for better user experience of enterprise application
  5. Dexie.js, A Minimalistic Wrapper for IndexedDB

Zilliqa's Repos

  1. Zilliqa
  2. @Zilliqa-js

laksa-client-example's People

Contributors

neeboo avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

snowsledge

laksa-client-example's Issues

Better structure

Splitting Model and component grouping. Stop selecting global state of laksa.

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.