Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@scrypt-inc/cat-token

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@scrypt-inc/cat-token

A demo sCrypt smart contract.

  • 0.2.10
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

sCrypt Cat Token

Build

npm run build

Testing Locally

npm run test

Testnet Sample Transactions

  • A transaction with 3 token UTXO inputs and 1 token UTXO output, with a virtual size (vsize) of 6.2k. The transaction ID (txid) is 918ce5eb57aea8ee0ccd9c4815610385247d42f9cff06f086ed6d9e936992783.

  • A transaction with 1 token UTXO input and 2 token UTXO outputs, with a virtual size (vsize) of 2.9k. The transaction ID (txid) is ec1b80405b8b2027a1143a836375657843f53b1873832afe9c005b9cf5859479.

Cat Token Transaction Limits

For a Cat Token protocol transaction, the maximum number of inputs is 6, and the maximum number of outputs is also 6.

Since we need to calculate the txid of the previous transaction, we must ensure that the number of bytes in the previous transaction’s data is less than 520.

This is because the maximum byte limit for an element on the Bitcoin Virtual Machine (BVM) stack is 520. The corresponding variable name is MAX_SCRIPT_ELEMENT_SIZE.

Cat Token Protocol

FAQs

Package last updated on 04 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc