Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
remove docs
  • Loading branch information
aaronmgdr committed Oct 1, 2024
1 parent ac94f4f commit f0ff5d2
Showing 1 changed file with 0 additions and 81 deletions.
81 changes: 0 additions & 81 deletions docs/command-line-interface/identity.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,89 +3,8 @@

Interact with ODIS and the attestations service

* [`celocli identity:get-attestations`](#celocli-identityget-attestations)
* [`celocli identity:identifier`](#celocli-identityidentifier)
* [`celocli identity:withdraw-attestation-rewards`](#celocli-identitywithdraw-attestation-rewards)

## `celocli identity:get-attestations`

Looks up attestations associated with the provided phone number. If a pepper is not provided, it uses the --from account's balance to query the pepper.

```
USAGE
$ celocli identity:get-attestations [--gasCurrency
0x1234567890123456789012345678901234567890] [--globalHelp] [--phoneNumber <value>]
[--from 0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d] [--pepper <value>] [--identifier
<value>] [--network <value>]
FLAGS
--from=0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d Account whose balance to use
for querying ODIS for the
pepper lookup
--gasCurrency=0x1234567890123456789012345678901234567890 Use a specific gas currency
for transaction fees
(defaults to CELO if no gas
currency is supplied). It
must be a whitelisted token.
--globalHelp View all available global
flags
--identifier=<value> On-chain identifier
--network=<value> The ODIS service to hit:
mainnet, alfajores,
alfajoresstaging
--pepper=<value> ODIS phone number pepper
--phoneNumber=<value> Phone number to check
attestations for
DESCRIPTION
Looks up attestations associated with the provided phone number. If a pepper is not
provided, it uses the --from account's balance to query the pepper.
EXAMPLES
get-attestations --phoneNumber +15555555555 --from 0x47e172F6CfB6c7D01C1574fa3E2Be7CC73269D95
get-attestations --phoneNumber +15555555555 --pepper XgnKVpplZc0p1
get-attestations --identifier 0x4952c9db9c283a62721b13f56c4b5e84a438e2569af3de21cb3440efa8840872
```

## `celocli identity:identifier`

Queries ODIS for the on-chain identifier and pepper corresponding to a given phone number.

```
USAGE
$ celocli identity:identifier --from 0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d
--phoneNumber +14152223333 [--gasCurrency
0x1234567890123456789012345678901234567890] [--globalHelp] [--context <value>]
FLAGS
--context=<value> mainnet (default),
alfajores, or
alfajoresstaging
--from=0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d (required) The address from
which to perform the query
--gasCurrency=0x1234567890123456789012345678901234567890 Use a specific gas currency
for transaction fees
(defaults to CELO if no gas
currency is supplied). It
must be a whitelisted token.
--globalHelp View all available global
flags
--phoneNumber=+14152223333 (required) The phone number
for which to query the
identifier. Should be in
e164 format with country
code.
DESCRIPTION
Queries ODIS for the on-chain identifier and pepper corresponding to a given phone
number.
EXAMPLES
identifier --phoneNumber +14151231234 --from 0x5409ed021d9299bf6814279a6a1411a7e866a631 --context alfajores
```

## `celocli identity:withdraw-attestation-rewards`

Withdraw accumulated attestation rewards for a given currency
Expand Down

0 comments on commit f0ff5d2

Please sign in to comment.