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

Update pointer doc page #49

Merged
merged 1 commit into from
Apr 24, 2024
Merged

Update pointer doc page #49

merged 1 commit into from
Apr 24, 2024

Conversation

codchen
Copy link
Contributor

@codchen codchen commented Apr 24, 2024

What is the purpose of the change?

correct existing documentation

Describe the changes to the documentation

There are some recent changes for pointer deployment and the updates in this PR are to reflect those changes

Notes

@codchen codchen requested a review from a team as a code owner April 24, 2024 03:52

<Callout type="info">
The CW20 Pointer Contract has a code ID of `7` on devnet, and it's pre-stored
for easy use. To store this contract yourself or to check out the source code,
To check out the source code,
please visit our [GitHub
page](https://github.com/sei-protocol/sei-chain/tree/evm/example/cosmwasm/cw20).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unrelated but we might want to update this to reference main instead of the evm branch

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

@@ -135,7 +143,7 @@ seid tx evm deploy-erccw721 $CW721_TOKEN_ADDRESS $NAME $SYMBOL --from=$SENDER --
To deploy an CW20 Pointer Contract that links to a ERC20 token, you can use the following command:

```bash copy
seid tx wasm instantiate 7 '{"erc20_address": "$ERC20_TOKEN_ADDRESS"}' --from=$SENDER --label=$LABEL --chain-id=arctic-1 --broadcast-mode=block --gas=250000 --fees=25000usei --node=https://rpc-arctic-1.sei-apis.com/ --no-admin
seid tx evm register-pointer ERC20 $ERC20_TOKEN_ADDRESS --from=$SENDER --chain-id=arctic-1 --broadcast-mode=block --gas=250000 --fees=25000usei --node=https://rpc-arctic-1.sei-apis.com/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this no longer require the code id of the pointer cw contract?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah it no longer requires that

@codchen codchen merged commit 54616cf into seiv2 Apr 24, 2024
1 check passed
seiyan-writer pushed a commit that referenced this pull request Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants