npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@epicchain/epicvault-dappkit-types

v1.0.2

Published

<p align="center"> <img src="https://via.placeholder.com/800x150?text=EpicVault+DappKit" alt="EpicVault-DappKit"/> <br/> <b>EpicVault-DappKit:</b> Your Ultimate Gateway to Building Decentralized Applications on EpicChain Blockchain. <br/> Built

Readme

EpicVault-DappKit

EpicVault-DappKit is an all-in-one, developer-friendly toolkit designed to simplify the process of building decentralized applications (dApps) on the EpicChain blockchain. Whether you're connecting Web Applications, managing Off-chain JS Servers, or creating React-Native Apps, EpicVault-DappKit seamlessly bridges your app to the powerful EpicChain ecosystem.

Why Choose EpicVault-DappKit?

  • Comprehensive & Flexible: Integrates seamlessly with existing projects using the WalletConnectSDK.
  • User-Centric: Simplified tools for dApp development without compromising functionality.
  • Scalable & Robust: Designed to support small projects and large-scale blockchain solutions alike.

🛠 Pro Tip: EpicVault-DappKit leverages types compatible with WalletConnectSDK, enabling you to alternate between implementations while reusing existing code. Check out the comprehensive WalletConnect Guide for more insights.


🚀 Installation

To get started with EpicVault-DappKit, install the core package using npm:

npm i @epicchain/epicvault-dappkit-types

To ensure compatibility with Vite, update your vite.config.ts file with the following snippet:

import { defineConfig } from 'vite';

export default defineConfig({
  // Custom configuration
  define: {
    global: 'globalThis',
    process: {
      version: 'globalThis',
    },
  },
});

📚 Components Overview

EpicVault-DappKit comes packed with powerful modules tailored to streamline dApp development:

  1. EpicVaultInvoker
    A smart contract invocation tool for efficient blockchain interactions.

  2. EpicVaultParser
    A versatile parser for managing EpicChain-specific data types.

  3. EpicVaultSigner
    Handles cryptographic signing, verification, encryption, and decryption.

  4. EpicVaultEventListener
    A robust event listener to capture real-time blockchain updates.

🗂 Explore sample implementations in the examples folder.


🛠 Quick Start Guide

Here’s a simple example to illustrate how to interact with EpicChain using EpicVault-DappKit:

import { EpicVaultInvoker, EpicVaultParser, TypeChecker } from '@epicchain/epicvault-dappkit';
import { ContractInvocationMulti } from '@epicchain/epicvault-dappkit-types';

// Initialize the EpicVaultInvoker
const invoker = await EpicVaultInvoker.init({
  rpcAddress: EpicVaultInvoker.TESTNET,
});

// Define the contract invocation
const invocation: ContractInvocationMulti = {
  invocations: [
    {
      scriptHash: '0x309b6b2e0538fe4095ecc48e81bb4735388432b5',
      operation: 'getMetaData',
      args: [
        {
          type: 'Hash160',
          value: '0x6dc3bff7b2e6061f3cad5744edf307c14823328e',
        },
      ],
    },
  ],
};

// Test the invocation
const testInvokeResult = await invoker.testInvoke(invocation);

// Log results
console.log(`Invocation state returned: ${testInvokeResult.state}`);
console.log(`Estimated EpicPulse consumed: ${testInvokeResult.epicpulseconsumed} EpicPulse`);
console.log(`Returned a map? ${TypeChecker.isStackTypeMap(testInvokeResult.stack[0])}`);
console.log(`Parsed data: ${JSON.stringify(EpicVaultParser.parseRpcResponse(testInvokeResult.stack[0]), null, 2)}`);

🌟 Key Features at a Glance

  • Zero Gas Fee Testing: Use testInvoke to simulate smart contract calls without consuming EpicPulse.
  • Real-Time Parsing: Effortlessly convert blockchain data into developer-friendly formats.
  • Modular Architecture: Adapt components to fit specific project needs.
  • Cross-Platform Compatibility: Supports a wide range of environments including Web, Node.js, and React-Native.

Join the Revolution 🌐

Take your dApp development to the next level with EpicVault-DappKit. Visit our official repository to get started. Let's shape the future of blockchain technology together!