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

@zktx.io/ptb-builder

v0.0.5

Published

Sui programmable transaction blocks builder

Downloads

344

Readme

Programmable Transaction Blocks Builder (PTB Builder)

PTB Builder is a visual development tool for Programmable Transaction Blocks (PTBs), a core technology of the Sui blockchain. Designed to create a powerful synergy with Sui’s PTB capabilities, this tool allows both developers and non-developers to easily construct and manage complex transactions, maximizing the potential of this advanced technology and making it more accessible to a broader audience.

ptb-builder-editor.png

https://github.com/user-attachments/assets/0e7a3d47-451a-4cea-a36d-9df23d931cf2

Demo

Key Use Cases

  1. Transaction Construction and Pre-Testing:
    • Intuitive UI: Visually construct transactions through a drag-and-drop graphical interface.
    • Code Generation and Review: Verify automatically generated code from the constructed transactions and utilize it for dApp development.
    • Pre-Simulation: Simulate transaction behavior before actual execution to check expected results.
  2. Executing Transactions Without Coding:
    • Non-Developer Friendly: Users without coding knowledge can construct and execute transactions, enabling individuals from various fields to utilize blockchain technology.
    • Real-Time Feedback: Provides real-time errors or warnings during transaction construction to help create correct transactions.
  3. Saving and Sharing Graphs:
    • Save and Load Files: Save constructed transaction graphs as files and load them when needed.
    • Collaboration Features: Share saved graphs with team members or the community to promote collaboration, allowing transactions to be executed even without a dApp.
  4. Transaction Visualization and Verification:
    • Visualization of Execution Results: Visually represent the results of executed programmable transactions for easy understanding.
    • Debugging Support: Provides debugging tools to trace and modify transaction flows when issues arise.

Main Features

  • Drag-and-Drop Interface: Easily construct transactions with a user-friendly interface.
  • Automatic Code Generation: Automatically generates Move language code based on the transaction graph.
  • Real-Time Error Detection: Instantly notifies errors occurring during construction to help create correct transactions.
  • Multi-Language Support: Offers interfaces in various languages for convenient use by users worldwide.
  • Extensibility: Expand functionality through plugins or modules, allowing for a customized tool.

User Benefits

  • Enhanced Development Efficiency: Reduce development time by constructing complex transactions quickly and accurately.
  • Eased Learning Curve: Create and understand transactions without deep knowledge of the Move language.
  • Cost Reduction: Decrease errors during development, reducing costs associated with debugging and fixing.
  • Strengthened Collaboration: Promote team collaboration through graph sharing and joint work.

Roadmap

  1. Current Status:
    • Providing PoC Version: Offering an initial version equipped with basic transaction construction and execution features.
    • Collecting User Feedback: Improving the tool by incorporating users’ opinions.
  2. Future Plans:
    • VS Code Integration: Plan to integrate PTB Builder into Sui’s VS Code development tool, Sui Extension, allowing developers to create and test transactions in a familiar environment.
    • Adding Advanced Features:
      • Version Control: Enable tracking and restoring changes through version control of transaction graphs.
      • Integrated Testing Environment: Provide a testing environment similar to the actual network to verify transaction behavior more accurately.