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

dev3-sdk

v1.0.1

Published

SDK for interacting with the 0xDev3 platform.

Downloads

130

Readme

Dev3 SDK (TypeScript)

SDK built for interacting with the Dev3 platform. The demo version of the platform is available here.

The Dev3 platform provides a nice UI to interact with the blockchain, deploy new or import existing smart contracts, and call various smart contract functions with a single click.

This SDK provides the support the Dev3 platform via various functions exposed through the sdk package; you can easily integrate the sdk to existing web projects regardless of the technology stack being used.

The simplest way to start using the SDK is to run the following command in your project's root directory:

$ npm install dev3-sdk

Then intialize the singleton object inside your application (be it nodejs, browser based, or other) like this:

import { Dev3SDK } from "dev3-sdk";
// or 
const { Dev3SDK } = require("dev3-sdk")
...
const sdk = new Dev3SDK("your-api-key", "your-project-id"); 

"your-api-key" and "your-project-id" values can be found on your project details page in the demo platform and create a new project.

Chainlink SDK

Price Feeds

Using Dev3 SDK automatically provides youaccess to Chainlink Data Feeds. Follow the instructions in the Chainlink docs.

Take a look at Example React App too see how to use Chainlink Dev3 SDK inside your project!

VRF Subscriptions Management

📕 Docs

👨🏻‍💻 Example app (live)

📑 Example app (github)

The example app is running on the Sepolia testnet. You can use the Chainlink Faucet to get some test LINK tokens, and the Ethereum Faucet to get some test ETH.

Functions Subscriptions Management

📕 Docs

👨🏻‍💻 Example app (live)

📑 Example app (github)

The example app is running on the Sepolia testnet. You can use the Chainlink Faucet to get some test LINK tokens, and the Ethereum Faucet to get some test ETH.

Build

Update your environment to NodeJS v16 before running the steps below.

To clone and build the project, run the following command in your terminal:

$ git clone https://github.com/0xdev3/dev3-sdk

$ npm install
 
$ npm run build

Test

$ npm run test