vechain/vechain-dapp-kit
소개
vechain dApp 개발을 위한 SDK
개발 도구What you can do
- Wallet Connectivity: Key components that handle interaction with VeWorld and Sync 2.
- Customizable UI: Ability to totally customize the UI of components.
- User Experience: Consistent experience with Ethereum and other chains.
- Developer friendly: Easy to adopt with proper documentation.
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -1
- in 1 month
- -3
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalvechain-dapp-kit
A TypeScript library that facilitates seamless interaction between VeChain wallets.
Introduction
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 ?
- Key features
- Contributing
- Sample Projects
- Branching Strategy
- Setting up for local development
- Further Documentation & Usage
Why ?
- Allow easy interaction with all wallets.
- Currently, Connex only plays nice with Sync / Sync2
- Enable a better UX for users
Key features
Wallet Connectivity: Key components that handle interaction with VeWorld and Sync 2.
Customizable UI: Ability to totally customize the UI of components.
User Experience: Consistent experience with Ethereum and other chains.
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
https://github.com/vechain/vechain-dapp-kit/assets/150018882/5cc133ae-4c6b-4e08-8cff-0e09b6ca43aa
- Look at some live demos here:
- Refer to the apps folder for sample projects.
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
# prepare the release, this will check out the release branch, install dependencies, build packages, test and update the package versions
yarn prepare:release X.Y.Z
Create the PR for the release branch vX.Y.Z.
When the PR is merged, create the release on github called X.Y.Z, it will automatically publish the packages to npm.
관련 프로젝트 살펴보기
불러오는 중…