-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
35 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Signer registration utility | ||
|
||
This utility can be used to register an op-enclave signer key with the | ||
[SystemConfigGlobal](../contracts/src/SystemConfigGlobal.sol) contract. | ||
|
||
## Installation | ||
|
||
``` | ||
go install github.com/base-org/op-enclave/register-signer | ||
``` | ||
|
||
## Usage | ||
|
||
Query an AWS Nitro attestation from op-enclave server: | ||
```bash | ||
curl -d '{"id":0,"jsonrpc":"2.0","method":"enclave_signerAttestation"}' -H "Content-Type: application/json" http://op-enclave:7333 | ||
``` | ||
|
||
``` | ||
Usage of register-signer: | ||
-attestation string | ||
attestation hex | ||
-deployment string | ||
deployment file (default "deployments/84532-deploy.json") | ||
-private-key string | ||
private key | ||
-rpc string | ||
rpc url (default "https://sepolia.base.org") | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters