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

@xyo-network/tool-dapper-react

v0.3.5

Published

An automated smart contract web viewer. Run on any ABI folder

Downloads

4

Readme

logo


Greenkeeper badge

David Badge David Badge BCH compliance

Build Status

Check out Dapper, live at https://dapper.layerone.co to start playing with your smart contracts.

Pt. I. - Let's Get Dapper

  1. When in doubt, yarn it out in the project directory:
yarn
  1. Run dapper
yarn start

Pt. II - Dapploy Some Contracts locally

We need to deploy some smart contracts

  1. Use Dapploy and create your first standalone smart contact project:
./dapploy init
./dapploy -P

or Use Truffle to deploy your smart contracts to any Ethereum blockchain, and note the folder of your ABI, usually in <truffle_project>/build/contracts

Pt. III - View Local Contracts

  1. If you don't already have it, download and install Ganache from their site

  2. Same with MetaMask from their site

  3. Configure Ganache on 8545:

  • Open Ganache
  • Click the Gear Icon thingy ( ⚙️ ) to open Preferences.... Make sure that port is set to 8545.
  • Click "Save and Restart" in the top-right of Ganache
  1. Configure Metamask network to localhost
  • Sign into Metamask and change Network on Metamask to localhost 8545
  1. Add ganache account to metamask
  • In your Ganache UI, you'll see a list of ~10 addresses. Click the key icon (🔑) next to one of 'em. And then COPY the "Private Key"
  1. Start dapper. This should open up localhost:3000 in a chrome browser.
yarn start

You should see the Dapper UI with no smart contracts loaded.

Pt. III. - Play with your Smart Contracts

  1. In Dapper UI, go to the settings cog and select Local Path and enter <truffle_project>/build/contracts (Priject dir from Pt. II)

  2. Tap Save and you should be able to see the FungibleToken in the dropdown and play with it!

  3. Select name() function and you should see the name, "Fun Token" displayed.