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 🙏

© 2024 – Pkg Stats / Ryan Hefner

dataverse-contracts-test

v1.0.12

Published

<br/> <p align="center"> <a href=" " target="_blank"> <img src="https://bafybeifozdhcbbfydy2rs6vbkbbtj3wc4vjlz5zg2cnqhb2g4rm2o5ldna.ipfs.w3s.link/dataverse.svg" width="180" alt="Dataverse logo"> </a > </p > <br/>

Downloads

20

Readme

dataverse-contracts

⚠️ Warning: This Smart Contract has not been professionally audited.

Overview

Setup

Install Foundry:

curl -L https://foundry.paradigm.xyz | bash
foundryup

Install dependencies:

forge install

Compile

forge build

Test

forge test

Test the code with logs and traces:

forge test -vvvv

Deploy

Anvil is a local testnet node that comes with Foundry. You can use it to test your contracts from frontends or to interact over RPC. Here, we deploy contracts to the local chain Anvil as an example.

1. Start Anvil

anvil

The service will then be listening on 127.0.0.1:8545.

2. Set .env

Please add a new file named .env and configure your environment as .env.example showed.

ANVIL_RPC_URL=
PRIVATE_KEY=

PRIVATE_KEY could be copied from Anvil's shell dashboard.

Then source .env in shell:

source .env

3.Deploy

Please add a new file named .env and configure your environment as .env.example showed.

npm run deploy:polygon_mumbai
npm run deploy:bsc_testnet

4.Deployed Contract Address

The contract addresses deployed on different blockchain networks are listed in the addresses.json file.

Deployed Contract Address

{
  "Mumbai": {
    "GlobalConfig": "0x1d5122b2293Edb9bbCc03F55da110588cEAf657b",
    "DappTableRegistry": "0xAf0a7C64ecEB3525390e4A7289189c8B06051DB5",
    "DataUnion": {
      "DataUnion": "0x2AE67993019275E140fa01B47e6f32d1AecFF1ca",
      "LitACL": "0xa420D0Fee98b242e494A15D6143e068c1D16b72C",

      "BlockSubscribeModule": "0x20b591ed9Ce58013B7765Ea5Cc8Df943B78f2DaC",
      "TimeSegmentSubscribeModule": "0x78BeEc5D57eB43F14D91645AB817644BeF7acCa3"
    },
  },
  "BSCT": {},
  "Polygon": {},
  "BSC": {},
}