Skip to content

Commit

Permalink
Update source/docs/casper/developers/cli/verifying-contracts.md
Browse files Browse the repository at this point in the history
Co-authored-by: Iulia Popescu <[email protected]>
  • Loading branch information
moubctez and ipopescu authored Aug 19, 2024
1 parent 1ac67fe commit 6cde953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/docs/casper/developers/cli/verifying-contracts.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This document describes actions needed for smart contract verification using the

## Verifying contracts using the Casper Client {#verifying-the-contract}

You can use the Casper client's `verify-contract` command to have your contract verified. This command archives your contracts source code and sends it to the verification service. This service performs all the same operations on the provided source that a node does when deploying a smart contract on the blockchain. The resulted binary is then compared byte-by-byte against the contract fetched from the Casper blockchain based on the inputed transaction hash. If they match then the verification is a success.
You can use the Casper client's `verify-contract` command to have your contract verified. This command archives your contract's source code and sends it to the verification service. This service performs all the same operations on the provided source that a node does when installing a smart contract on the blockchain. Based on the input transaction hash, the resulting binary is then compared byte-by-byte against the contract fetched from the Casper blockchain. If they match, then the verification is a success.

```bash
casper-client verify-contract --verification-url-basepath <HOST:PORT> <TRANSACTION-HASH> <PATH>
Expand Down

0 comments on commit 6cde953

Please sign in to comment.