samrataiandbi-cmd/sample-contract
Auf GitHub ansehenCreate a file for interacting with write functions of the contract
Open
#3 geöffnet am 6. Okt. 2025
enhancementgood first issuehacktoberfesthacktoberfest-acceptedhacktoberfest2025help wanted
Repository-Metriken
- Stars
- (0 Stars)
- PR-Merge-Metriken
- (PR-Metriken ausstehend)
Beschreibung
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