samrataiandbi-cmd/sample-contract

Create a file for interacting with write functions of the contract

Open

#3 opened on Oct 6, 2025

View on GitHub
 (1 comment) (0 reactions) (1 assignee)JavaScript (1 fork)auto 404
enhancementgood first issuehacktoberfesthacktoberfest-acceptedhacktoberfest2025help wanted

Repository metrics

Stars
 (0 stars)
PR merge metrics
 (PR metrics pending)

Description

Create a file (e.g., writeContract.js) that connects with the contract and performs write operations such as updating values, pushing to arrays, or setting data.

Suggestions:

  • Use a signer (like wallet.connect(provider)) for sending transactions
  • Display transaction hash and status
  • Ensure proper error handling and async/await usage

Contributor guide