Skip to content

Commit 4a56882

Browse files
committed
Add link to sample contracts for precompiles in documentation
1 parent fa9fe4b commit 4a56882

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

smart-contracts/precompiles/eth-native.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ To use a precompile in your smart contract, simply call the precompile's address
1818

1919
For example, to use the ECRecover precompile to verify a signature, you would call address `0x0000000000000000000000000000000000000001` with the properly formatted signature data. The precompile handles the complex cryptographic operations efficiently and returns the recovered public key.
2020

21+
You can find sample contracts for each precompile in the [`precompiles-hardhat`](https://github.com/polkadot-developers/polkavm-hardhat-examples/tree/master/precompiles-hardhat/contracts){target=\_blank} project.
22+
2123
## Standard Precompiles in Polkadot Hub
2224

2325
Revive implements the standard set of Ethereum precompiles:

0 commit comments

Comments
 (0)