samrataiandbi-cmd/sample-contract
View on GitHubCreate a file for interacting with write functions of the contract
Open
#3 opened on Oct 6, 2025
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