Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added guide for building an avalanche L1 for payments #38

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update README.md
Signed-off-by: Fatih Ali Arık <[email protected]>
FAArik authored Sep 28, 2024

Verified

This commit was signed with the committer’s verified signature.
tomekzaw Tomek Zawadzki
commit d721f39e82e1103383e239eb56358947e7d1f16b
8 changes: 7 additions & 1 deletion src/x-build-an-avalanche-L1-for-payments-with-USDC/README.md
Original file line number Diff line number Diff line change
@@ -535,6 +535,12 @@ Inputs complete, issuing transaction to add the provided validator

Now, we've completed the installation and configuration process.

After deploying and being a validator dont forget to add your subnet to blockchain with
```
avalanche blockchain join [blockchainName]
```
this will add your subnet to your node and create necessary subnet plugin

# Deploying Contracts

We need **Token Home** and **Token Remote** contracts to manage cross-chain transactions in a secure and efficient way.
@@ -644,4 +650,4 @@ cast send --rpc-url local-c --private-key $PK $ERC20_HOME_TRANSFERER_C_CHAIN "se
cast send --rpc-url faarik --private-key $PK $NATIVE_TOKEN_REMOTE_SUBNET "send((bytes32, address, address, address, uint256, uint256, uint256, address))" "(${C_CHAIN_BLOCKCHAIN_ID_HEX}, ${ERC20_HOME_TRANSFERER_C_CHAIN}, 0xf187086cfCd7D7b26E918abdac4f18B597202C06, ${ERC20_HOME_C_CHAIN}, 0, 0, 250000, 0x0000000000000000000000000000000000000000)" --value 1ether
```

Congratulations! You’ve successfully set up an Avalanche L1 network for payments using USDC.
Congratulations! You’ve successfully set up an Avalanche L1 network for payments using USDC.