Introduction

This part contains Gvite-RPC shortcuts.

The invocation of different levels of API varies from diverse connection ways. (All of the APIs that are underlying Gvite wallet will be accessible only by IPC.)

Installation

npm install @vite/vitejs-client --save
yarn add @vite/vitejs-client

Import

import { client } from '@vite/vitejs';
// Or
import client from '@vite/vitejs-client';
const { client } = require('@vite/vitejs-client');