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

n8n-nodes-chainstream

v0.0.92

Published

Chainstream nodes for n8n workflows

Readme

Version: 0.0.92 Status: Submitted to Creator Portal, awaiting approval
Compatible with: n8n v1.0.0+ (tested on v1.113.0)

n8n-nodes-chainstream

Verified on MseeP

n8n-nodes-chainstream is an n8n community node that enables workflows to access real-time blockchain data via Chainstream. It supports token, wallet, and trade queries across multiple chains, and is designed for reuse, easy extension, and straightforward review.


🚀 Installation

npm install n8n-nodes-chainstream
  • Restart n8n to load the new community node.
  • Add the Chainstream node to your workflow and configure credentials.

🔐 Credentials

Create a new credential in n8n:

  • API Client ID — Chainstream public key
  • API Client Secret — Chainstream private key

⚠️ Do not commit real keys to your repository or exported workflows. Use placeholders in templates and bind credentials after import.


⚡ Quickstart

  1. Go to Workflows → Import in n8n and upload /templates/workflow.json from this repo.

  2. Run:

    npm install n8n-nodes-chainstream
  3. Create and bind your Chainstream credential.

  4. Configure a trigger (e.g., Telegram, webhook, cron).

  5. Run the workflow and inspect the Chainstream node output.

Note: /templates/workflow.json uses credential placeholders. Replace them after import.


🧪 Example Node Configuration

Node: Chainstream

  • Credentials: ChainstreamApi
  • Resource: token
  • Operation: get
  • Chain ID: 137
  • Token Address: 0x1234...abcd
  • Options: (leave default)

Example output:

{
	"symbol": "ABC",
	"name": "Token ABC",
	"decimals": 18,
	"address": "0x..."
}

For batch runs, use expressions or upstream nodes to supply dynamic parameters.


📚 Supported Resources

Short summary of supported resources (full mapping in DEVELOPER.md):

  • token — metadata, prices, holders, liquidity, security, mint/burn
  • trade — listings, activities, leaderboards
  • wallet — balance queries

🧑‍💻 Developer Notes

The execute method builds requests dynamically:

  1. Reads resource and operation per item
  2. Calls buildRequest() to map to { method, path, qs }
  3. Sends request via chainstreamApiRequest()
  4. Wraps response with constructExecutionMetaData()
  5. Handles errors via NodeOperationError, respects continueOnFail

Full handler mapping and endpoint patterns are in DEVELOPER.md.


🛠️ Troubleshooting

  • Invalid resource/operation → check for typos
  • Bad parameters → test with single item before batching
  • API errors → inspect node output, verify credentials
  • Batch runs → enable Continue On Fail to capture per-item errors

Debug tips:

  • Use Executions view to inspect inputs/outputs
  • Add a Set node to test static parameters
  • Start with one item to simplify debugging

🧪 Contributing & CI

npm run build   # Compile TypeScript
npm run lint    # Run ESLint
npm run test    # Run Jest tests
  • prepublishOnly runs build + lint before publishing
  • Use GitHub Actions to automate lint/build/test
  • Keep TypeScript strict and ESLint green

To add a new operation:

  1. Add handler in buildRequest()
  2. Extract parameters via getNodeParameter(..., i)
  3. Return { method, path, qs? }
  4. Add tests and update DEVELOPER.md

📦 Templates & Reviewer Guidance

  • /templates/workflow.json — example workflow
  • /templates/README-template.md — import instructions
  • If reviewers lack production keys, provide:
    • mock API
    • test account
    • recorded executions

When submitting:

  • Include repo link, npm package name/version
  • Provide install steps and sample outputs
  • Add screenshots if possible

📬 Contact & Support


📄 License

MIT