Coder Social home page Coder Social logo

atralupus / web9c Goto Github PK

View Code? Open in Web Editor NEW

This project forked from planetarium/web9c

0.0 0.0 0.0 20.68 MB

Reference frontend app to demonstrate JS libraries on Nine Chronicles / Libplanet.

Home Page: https://web9c.netlify.app/

License: GNU General Public License v3.0

JavaScript 9.34% TypeScript 90.45% CSS 0.21%

web9c's Introduction

Web9c Logo

Web9c

Web9c is a JS/TS testbed repository for presenting how can we interact with Nine Chronicles from various JS runtime. (Browser / Node.js / Deno) using our latest JS/TS library support.

Features

  • Generate, Import private/public key pair, address from Web3 Secret Storage
  • GENERATE ACTIONS WITHOUT ACTIONTX QUERY!
    • You still have to query out the NextTxNonce, but action can be generated 100% locally with the help of lib9c-wasm.
  • SIGN AND STAGE YOUR ACTION ON WEB BROWSER!
    • Currently Supported Actions:
      • Transfer NCG
      • Staking
  • Get data about your address.
    • NCG Balance, Next Tx Nonce,
    • Avatar Data: Nickname, Level, AP
    • Inventories! : Equipment, Costumes, Consumable, Materials.

@planetarium libraries

With a bit of exception, source code of our JS/TS Libraries are resides mostly in libplanet/@planetarium, so you can take a look about how these libraries are made, even contribute! if you need custom build for your needs, you can modify them and build just for you.

In case of installing dependancies for your project, you can search on npm with @planetarium

Used for Action Generation.

We interoped original C# lib9c source code into WASM. so we can call native action builder from JS/TS. with the right parameters (i.e. PlainValue) given, we can get same bencodex encoded action without handling C#.

Data Serialization/Deserialization

If you have ever interacted with our chain directly using GraphQL, you probably have encountered this format. we recently re-wrote bencodex javascript implementation, with much more robust and comprehensive code, less hassle for handling bencodex on JS/TS environment.

Warning
when you try to install bencodex library, we recommend '@planetarium/bencodex' instead of just 'bencodex'. 'bencodex' support has been deprecated.

WIP

web9c's People

Contributors

moreal avatar akamig 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.