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

@bellswall/ord-tool

v0.1.4

Published

Welcome, brave TypeScript wizards ๐Ÿง™โ€โ™‚๏ธ, to the realm of Bellscoin Ordinals! Craft your inscriptions with the magic of taproot (P2TR) transactions.

Downloads

8

Readme

๐ŸŽฎ Bellscoin Ordinals Inscription Tool ๐Ÿ‰

Welcome, brave TypeScript wizards ๐Ÿง™โ€โ™‚๏ธ, to the realm of Bellscoin Ordinals! Craft your inscriptions with the magic of taproot (P2TR) transactions.

๐Ÿš€ Features

  • โœจ Craft Taproot Scripts: Forge inscriptions for Ordinals.
  • ๐Ÿฐ Transaction Kingdom: Create one mighty Commit Transaction and numerous Reveal Transactions.

๐Ÿ“ฆ Installation

Now, install the spellbook from npm:

npm install @bellswall/ord-tool

๐Ÿ› ๏ธ Usage

How to Cast:

import { OrdTool } from '@bellswall/ord-tool'

Spell Workflow:

  1. ๐Ÿ”ฎ Commit Spell: Conjure a transaction that commits to your inscription.
  2. ๐Ÿ–‹๏ธ Sign with Your Quill: Use your wallet or code to sign this magical scroll.
  3. ๐ŸŒ Broadcast to the World: Send your signed commit transaction via the Mempool API.
  4. ๐Ÿ•Š๏ธ Reveal the Magic: After your commit, reveal your inscriptions to the blockchain.

Example Grimoire:

import { OrdTool, makeKeypairFromWIF } from '@bellswall/ord-tool'
// Configure your magical network and inscription runes
const network = 'mainnet'; // or 'mainnet' for the brave
const config: InscriptionConfig = {
  // Inscribe your config details here...
};

const tool = new OrdTool(config);

// Secure your private key in an enchanted .env file
// WIF=your_private_key_in_WIF_format
const wif = process.env.WIF;
const signer = makeKeypairFromWIF(wif, network);

// Generate and sign the commit transaction spell
let unsignCommitPsbt = await tool.makeUnsignedCommitPsbt();
// Sign with your magical powers or wallet
// ...

// Broadcast your spell and await its manifestation
const commitTransactionId = await tool.postCommitTransaction(signedCommitPsbt);
console.log("Commit transaction ID:", commitTransactionId);
await tool.waitUntilTransactionConfirm(commitTransactionId);

// Reveal your inscriptions to the world
await tool.postRevealTransactions();

๐Ÿ” Security and Best Practices

  • ๐Ÿ”’ Key Guardianship: Never expose your magical keys in code. Use enchanted hardware wallets or trusted spell-signing services.
  • ๐Ÿงช Test in the Alchemist's Lab: Always test on testnet before unleashing on mainnet.
  • ๐Ÿ‘€ Confirm and Verify: Double-check your spells and wait for their confirmation.

๐Ÿค Contributions

Feel like adding more spells or enhancing our grimoire? Contributions are welcome! Follow the ancient coding scrolls and document your magic.

Follow our journey on X ๐Ÿฆ

Let's make blockchain inscriptions as fun as a barrel of monkeys ๐Ÿ’!


This version includes emojis to make the README more engaging and reflects the installation from npm, targeting TypeScript developers in modern web development environments.