Skip to content

Commit

Permalink
fix: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
saadahmsiddiqui committed Nov 12, 2024
1 parent fab3afa commit b1ee656
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions docs/03-sygma-sdk/02-Quick-Start/04-gmp.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ There are a few requirements for the Destination chain contract function that ge

To initialize the generic message transfer object, the following parameters need to be supplied:

- An EIP1193 compatible EVM provider
- An `EIP-1193` compatible EVM provider
- Environment variable `SYGMA_ENV` needs to be set as `mainnet` or `testnet`
- Address, ABI of the contract and the function that will be invoked on the destination chain.
- Address, `ABI` of the contract and the function that will be invoked on the destination chain.

```typescript
const gmpTransfer = await createCrossChainContractCall<
Expand Down
2 changes: 1 addition & 1 deletion docs/03-sygma-sdk/03-Advanced/01-local-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ yarn build
#### 4) Run the EVM-to-Substrate token transfer example

1. `cd` into the `evm-to-substrate-fungible-transfer` example inside the `/sygma-sdk/examples` folder
2. Update RPC Urls and transfer parameters in the example with local configuration
2. Update RPC URLs and transfer parameters in the example with local configuration

3. run:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ const privateKey = process.env.PRIVATE_KEY;
if (!privateKey) throw new Error("Missing environment variable: PRIVATE_KEY");
```

- Define transfer contants like destination chain ID, source chain ID, recipient address, resource ID and RPC Urls
- Define transfer constants like destination chain ID, source chain ID, recipient address, resource ID and RPC URLs

```ts
const SEPOLIA_CHAIN_ID = 11155111;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ cd examples/evm-to-substrate-fungible-transfer
yarn run transfer
```

The example will use `ethers` in conjunction with the Sygma SKD to create a transfer from Sepolia to Rococo-Phala with a `sygUSD` token. It will be received on Rococo-Phala as the `sygUSD` token.
The example will use `ethers` in conjunction with the Sygma SDK to create a transfer from Sepolia to Rococo-Phala with a `sygUSD` token. It will be received on Rococo-Phala as the `sygUSD` token.

### Script functionality

Expand All @@ -118,7 +118,7 @@ const privateKey = process.env.PRIVATE_KEY;
if (!privateKey) throw new Error("Missing environment variable: PRIVATE_KEY");
```

- Define transfer contants like destination chain ID, source chain ID, recipient address, resource ID and RPC Urls
- Define transfer constants like destination chain ID, source chain ID, recipient address, resource ID and RPC URLs

```ts
const SEPOLIA_CHAIN_ID = 11155111;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ const TANGLE_RPC_URL =
process.env.SOURCE_SUBSTRATE_RPC_URL ?? "wss://rpc.tangle.tools";
```

Note: In the case of a substrate transfer, mnmeonic is required.
Note: In the case of a substrate transfer, mnemonic is required.

- Constant and function to retrieve Sygma scanner URL (Optional)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ This example uses the `dotenv` module to manage private keys. To run the example

**DO NOT COMMIT PRIVATE KEYS WITH REAL FUNDS TO GITHUB. DOING SO COULD RESULT IN COMPLETE LOSS OF YOUR FUNDS.**

Create a `.env` file in the `evm-to-evm-generic-message-transfer` folder withiin examples:
Create a `.env` file in the `evm-to-evm-generic-message-transfer` folder within examples:

```bash
cd examples/evm-to-evm-generic-message-transfer
Expand Down

0 comments on commit b1ee656

Please sign in to comment.