Skip to content

Conversation

@pavlenkotm
Copy link

Description

Describe the changes or additions included in this PR.

Test plan

How did you test the new or updated feature?


Release notes

Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.

For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

  • Protocol:
  • Nodes (Validators and Full nodes):
  • gRPC:
  • JSON-RPC:
  • GraphQL:
  • CLI:
  • Rust SDK:
  • Indexing Framework:

claude added 22 commits November 6, 2025 20:27
Add comprehensive address validation utilities including:
- Hex string validation
- Sui address normalization
- Address equality comparison
- Address shortening for display
Add comprehensive coin utilities including:
- MIST to SUI conversion and vice versa
- Balance formatting and parsing
- Sum and percentage calculations
- Sorting coins by balance
Add comprehensive NFT utilities including:
- Metadata extraction and validation
- NFT display name generation
- IPFS URL conversion to HTTP gateways
- NFT grouping and filtering by attributes
- Sorting and collection management
Add comprehensive transaction utilities including:
- Transaction summary extraction
- Gas cost calculation
- Object ID extraction from effects
- Transaction status checking
- Explorer URL generation
- Transaction grouping and analysis
Add comprehensive event utilities including:
- Event filtering by type, sender, and timestamp
- Event type parsing and pattern matching
- Grouping and sorting events
- Event frequency analysis
- Field extraction from event data
Implement peer-to-peer token swap contract featuring:
- Creation of swap offers with deposited tokens
- Acceptance of swaps by providing requested tokens
- Cancellation by offer creator
- View functions for swap details
Implement decentralized voting contract featuring:
- Proposal creation with title, description, and deadline
- One vote per address (yes/no/abstain)
- Quorum requirements
- Proposal execution after voting ends
- View functions for vote tracking
Implement token staking contract featuring:
- Staking pool creation with reward funding
- Token staking with position tracking
- Reward calculation based on time and amount
- Claiming rewards without unstaking
- Full unstaking with automatic reward claim
Add comprehensive event validation utilities including:
- EventValidator for checking expected events
- Event order validation
- EventCounter for frequency tracking
- Assertion helpers for event counts
- Unit tests for all utilities
Add comprehensive test data generation utilities:
- Random address, object ID, and digest generators
- Predictable address generator with counter
- Mock transaction, object, and event builders
- Batch generation helpers
- Unit tests for all generators
Add convenient script for checking SUI balance:
- Support for multiple networks (devnet/testnet/mainnet)
- Simple usage with address parameter
- Error handling and validation
Add script for transferring SUI to multiple addresses:
- Read addresses from file (one per line)
- Batch processing with progress tracking
- Confirmation prompt before execution
- Success/failure statistics
- Rate limiting protection
Add automated setup script for Sui development:
- Prerequisites checking (Rust, Cargo, Git)
- Automated build process
- Configuration directory setup
- Client initialization
- Interactive confirmation prompts
- Helpful next steps information
Add comprehensive example for parallel operations:
- Fetching multiple objects concurrently
- Checking balances for multiple addresses
- Batch transfer preparation
- Transaction monitoring
- Parallel event queries
Add comprehensive NFT management example:
- Fetching NFTs owned by an address
- NFT metadata extraction and display
- Collection grouping and organization
- NFT transfer operations (commented)
- Event querying for NFT transfers
Implement on-chain lottery contract featuring:
- Lottery creation with ticket price and end time
- Ticket purchasing with SUI
- Prize pool accumulation
- Winner drawing with epoch-based randomness
- Prize claiming by winner
- View functions for lottery state
Implement multi-signature wallet contract featuring:
- Wallet creation with multiple owners and threshold
- Fund deposits to shared wallet
- Transaction proposals by owners
- Approval mechanism with threshold
- Safe execution after threshold reached
- View functions for wallet and proposal state
Add detailed documentation including:
- Overview of all examples
- Installation and setup instructions
- Usage examples for each script
- Network configuration guide
- Common patterns and best practices
Centralize all utility exports in single index file:
- Address validation and formatting utilities
- Coin and balance operations
- NFT metadata and collection helpers
- Transaction analysis utilities
- Event filtering and grouping
- Convenient single-point import access
Implement time-delayed transfer contract featuring:
- Fund locking with future unlock time
- Full withdrawal after unlock epoch
- Partial withdrawal support
- Recipient verification
- Time-based access control
- View functions for lock status and timing
Add unified test execution script featuring:
- Rust unit and integration tests
- TypeScript SDK tests
- Move package tests
- Selective test execution (rust/typescript/move/all)
- Dependency checking
- Clear progress reporting
Add comprehensive SDK configuration helpers:
- Predefined network configurations
- Network detection from RPC URL
- Configuration validation
- Environment variable loading
- Configuration merging with defaults
- Helper functions for network URLs
@vercel
Copy link

vercel bot commented Nov 6, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
multisig-toolkit Error Error Nov 6, 2025 8:56pm
sui-kiosk Error Error Nov 6, 2025 8:56pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants