Giter Site home page Giter Site logo

tianzedavid / vechain-dapp-kit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vechain/vechain-dapp-kit

0.0 0.0 0.0 5.53 MB

An SDK for vechain dApp development

License: MIT License

Shell 0.03% JavaScript 0.51% TypeScript 99.15% HTML 0.21% Gherkin 0.10%

vechain-dapp-kit's Introduction

vechain-dapp-kit

The Vechain DAppKit is a TypeScript library that facilitates seamless interaction between vechain wallets (veworld, sync2) and dApps, enhancing user experience and developer convenience. Please refer to Vechain Docs for full documentation and usage.

Table of Contents

Why ?

  • Allow easy interaction with all wallets.
  • Currently, connex only plays nice with Sync / Sync2
  • Enable a better UX for users

Key features

Key Features a.k.a scope

  1. wallet connectivity

    key components that handle interaction with veworld and sync 2

  2. customizable UI

    ability to totally customize the UI of components

  3. User Experience

    Consistent experience with Ethereum and other chains

  4. Developer friendly

    Easy to adopt with proper documentation.


Contributing

  • Please refer to the Contributing Guide for more information on how to contribute to the project.

Sample Projects

DAppDemo.mov

Branching Strategy

Welcome to our project! Here's an overview of our branching strategy.


Branch Types

  • main: The main branch represents the production-ready code. Only stable and tested features should be merged into this branch. Once ready for publishing, a new tag should be created from this branch.

Setting up for local development

Prerequisites

  • Node.js >= 18.17
  • Yarn >= 1.22.10

Install & build dependencies

yarn install:all

Run in Dev Mode

yarn dev

Useful scripts

Test

yarn test

Clean project

yarn clean

Purge project

  • Runs yarn clean and removes all node_modules
yarn purge

Install yarn packages

yarn

Build dependencies

yarn build:deps

Build release

yarn build

E2E Testing

We utilize Cucumber.js with Selenium for end-to-end (E2E) testing. To conduct these tests, you'll require the ChromeDriver. Here's how to install it:

On Mac:

brew install chromedriver
cd "$(dirname "$(which chromedriver)")"
xattr -d com.apple.quarantine chromedriver

Once installed, you can run tests in the browser using:

yarn test:e2e

Alternatively, you can run headless tests directly in the console using:

yarn test:e2e:headless

Further Documentation & Usage

  • Please refer to Vechain Docs for more information on how to use the library.

Publishing

git clone [email protected]:vechainfoundation/vechain-dapp-kit.git
cd vechain-dapp-kit
git checkout X.Y.Z
yarn install:all
yarn build:release X.Y.Z
yarn changeset publish

vechain-dapp-kit's People

Contributors

darrenvechain avatar davidecarpini avatar valazan avatar dependabot[bot] avatar turbobot-temp avatar fabiorigam avatar claytonneal avatar fabiofvc avatar hiiiid avatar tianzedavid 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.