Skip to content

Commit d18f94c

Browse files
Merge pull request #23 from celo-org/20-add-snippet-to-lookup-minipay-phone-numbers
chore: readme edits
2 parents eedc2fc + d59d23d commit d18f94c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ let transactionFeesInCUSD = formatEther(
211211
);
212212
```
213213

214-
#### Calculate cUSD to be spent for transaction fees (Using Viem)
214+
### Calculate cUSD to be spent for transaction fees (Using Viem)
215215

216216
```js
217217
const publicClient = createPublicClient({
@@ -237,7 +237,7 @@ let gasPrice = await estimateGasPrice(publicClient, STABLE_TOKEN_ADDRESS);
237237
let transactionFeesInCUSD = formatEther(gasLimit * hexToBigInt(gasPrice));
238238
```
239239

240-
#### Lookup phone number registered under MiniPay issuer (Using Ethers)
240+
### Lookup phone number registered under MiniPay issuer (Using Ethers)
241241

242242
[Code](./ethers/SocialConnect/index.js)
243243

@@ -275,7 +275,7 @@ let issuerAddresses = ["0x7888612486844Bb9BE598668081c59A9f7367FBc"];
275275
let results = await issuer.lookup(identifier, identifierType, issuerAddresses);
276276
```
277277

278-
#### Lookup phone number registered under MiniPay issuer (Using Viem)
278+
### Lookup phone number registered under MiniPay issuer (Using Viem)
279279

280280
[Code](./viem/SocialConnect/index.js)
281281

@@ -319,7 +319,7 @@ let issuerAddresses = ["0x7888612486844Bb9BE598668081c59A9f7367FBc"];
319319
let results = await issuer.lookup(identifier, identifierType, issuerAddresses);
320320
```
321321

322-
#### Registering phone number using your own issuer (Using Ethers)
322+
### Registering phone number using your own issuer (Using Ethers)
323323

324324
[Code](./ethers/SocialConnect/index.js)
325325

@@ -349,7 +349,7 @@ let results = await issuer.registerOnChainIdentifier(
349349
);
350350
```
351351

352-
#### Registering phone number using your own issuer (Using Viem)
352+
### Registering phone number using your own issuer (Using Viem)
353353

354354
[Code](./viem/SocialConnect/index.js)
355355

@@ -385,7 +385,7 @@ let results = await issuer.registerOnChainIdentifier(
385385
);
386386
```
387387

388-
#### De-Registering phone number registered under your own issuer (Using Ethers)
388+
### De-Registering phone number registered under your own issuer (Using Ethers)
389389

390390
[Code](./ethers/SocialConnect/index.js)
391391

@@ -415,7 +415,7 @@ let results = await issuer.deregisterOnChainIdentifier(
415415
);
416416
```
417417

418-
#### DeRegistering phone number registered under your own issuer (Using Viem)
418+
### De-Registering phone number registered under your own issuer (Using Viem)
419419

420420
[Code](./viem/SocialConnect/index.js)
421421

0 commit comments

Comments
 (0)