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

Merges current and ongoing work from devrel team #56

Merged
merged 68 commits into from
May 27, 2024
Merged
Changes from 1 commit
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
5bdc805
Update pointer-contracts.mdx
cordt-sei May 16, 2024
3a302d0
Update EvmWalletConnect **L42 incomplete**
cordt-sei May 16, 2024
467f3a5
Update _meta.json
cordt-sei May 16, 2024
c6c5f7a
Delete pages/user-guides/setting-up-a-wallet.mdx
cordt-sei May 16, 2024
8be10f1
Delete pages/user-guides/signing-transactions.mdx
cordt-sei May 16, 2024
9290c6c
Create wallet-setup.mdx
cordt-sei May 16, 2024
eff5fb6
Add 'infrastructure' section, condense/reorg
cordt-sei May 16, 2024
13fd7d9
Create node-operators.mdx
cordt-sei May 16, 2024
10e36d4
Delete pages/node-configuration.mdx
cordt-sei May 16, 2024
812abd2
Delete pages/running-a-sei-node.mdx
cordt-sei May 16, 2024
849ffde
Update EvmWalletConnect.tsx
cordt-sei May 16, 2024
ae82431
update address linking guide
May 17, 2024
a7d89e2
Update address linking guide
May 17, 2024
1ab6de8
Adds 'VersionFetcher' component for versioning
Cordtus May 17, 2024
0562ac0
Merge branch 'devrel' of https://github.com/sei-protocol/sei-docs int…
cordt-sei May 17, 2024
a98a8dc
adds clarity+consistency across pointer types
cordt-sei May 18, 2024
66daf29
Adds custom green callout to globals.css
cordt-sei May 19, 2024
1b4330a
Clarifies pointer registration proc.
cordt-sei May 19, 2024
7100449
Further organizes and streamlines overall flow
cordt-sei May 20, 2024
ebb8ccc
formatting README.md
cordt-sei May 20, 2024
b389fe1
Moves 'oracles' to 'Infrastructure' section
cordt-sei May 20, 2024
3ea15b6
Fixes eco-apps reference
cordt-sei May 20, 2024
9057ccc
Adds full brand assets, rough brand kit
cordt-sei May 21, 2024
15f1a44
Merge remote-tracking branch 'origin/devrel' into devrel
duncand0nuts May 22, 2024
b34827b
remove branding assets
cordt-sei May 22, 2024
d082915
remove faucet info from getting tokens page
duncand0nuts May 22, 2024
5a4108e
Merge remote-tracking branch 'origin/devrel' into devrel
duncand0nuts May 22, 2024
aec4d25
(WIP) Added all the files for the For Developers section and rearrang…
codebycarson May 23, 2024
e238c4e
Split ecosystem and providers to their own pages
codebycarson May 23, 2024
e905c05
IBC updates
dssei May 23, 2024
cba4755
Precompile updates + IBC precompile
dssei May 23, 2024
143a5f0
JSON precompile
dssei May 23, 2024
65706b5
Oracle precompile + formatting
dssei May 23, 2024
fd34357
Pointers precompile added
dssei May 23, 2024
d9cf4bd
PointerView precompile + updated repo links
dssei May 23, 2024
85c7274
Removed extra block-explorers page, adjusted general staking and gove…
codebycarson May 24, 2024
e272a91
Merge pull request #58 from sei-protocol/feature/for-devs-docs-denys
codebycarson May 24, 2024
571ee32
Updates snapshot to generic source
cordt-sei May 24, 2024
7e32eaf
adds consistency to snapshot steps
cordt-sei May 24, 2024
5ea60f9
add to user quickstart, add wrapped sei page, add brdiging page
duncand0nuts May 24, 2024
a530d1b
Merge remote-tracking branch 'refs/remotes/origin/devrel' into devrel
duncand0nuts May 24, 2024
4a7070e
fixes URL typo
cordt-sei May 24, 2024
0b01ee3
fixes URL typo
cordt-sei May 24, 2024
26d5b51
add images
duncand0nuts May 24, 2024
bfa09a9
Merge remote-tracking branch 'refs/remotes/origin/devrel' into devrel
duncand0nuts May 24, 2024
e5ea963
fix imports and image names
duncand0nuts May 24, 2024
5d4b77a
Update frontend tutorial
mj850 May 24, 2024
6a9be05
doc tweaks
dssei May 24, 2024
8bc5617
Merge pull request #59 from sei-protocol/mj/dev-frontend
codebycarson May 24, 2024
fb36f9d
fix broken links
dssei May 24, 2024
0e3d8de
fix formatting
dssei May 24, 2024
1e69b0d
Merge pull request #60 from sei-protocol/feature/for-devs-docs-denys2
codebycarson May 24, 2024
ccc5ce2
Fixed build warnings
codebycarson May 24, 2024
88ddaec
Adds brand-kit, CSS + component
cordt-sei May 26, 2024
1c418c2
Changes walletconnect to mainnet
cordt-sei May 26, 2024
78c7cee
chore: Update import path for Logo component in theme.config.tsx and …
cordt-sei May 26, 2024
89c7a29
Merge branch 'devrel' into aurora-brand-kit
cordt-sei May 26, 2024
73bc68e
Merge pull request #61 from sei-protocol/aurora-brand-kit
cordt-sei May 26, 2024
2a5b65d
Update brand-kit.mdx
cordt-sei May 26, 2024
0e56a52
Update brand-kit.mdx
cordt-sei May 26, 2024
8fefc4e
Update brand-kit.mdx
cordt-sei May 26, 2024
e5e6503
Improved intro docs
codebycarson May 26, 2024
675ad0d
Final Formatting and Links
codebycarson May 27, 2024
243e6d9
Merge branch 'devrel' into feature/for-devs-docs
codebycarson May 27, 2024
b257451
Merge pull request #62 from sei-protocol/feature/for-devs-docs
codebycarson May 27, 2024
bd33b0b
adds finished wrap guide
cordt-sei May 27, 2024
305bbc5
Fixed bad formatting, moved oracle price feeder over, small typos
codebycarson May 27, 2024
12ae53f
Fix links (#64)
mj850 May 27, 2024
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
Next Next commit
Clarifies pointer registration proc.
cordt-sei committed May 19, 2024
commit 1b4330a3c0038de0b647bd2c364a9caca7cf8d93
48 changes: 35 additions & 13 deletions pages/interoperability/pointer-contracts.mdx
Original file line number Diff line number Diff line change
@@ -65,29 +65,51 @@ seid q evm pointer $TYPE $POINTEE --evm-rpc=https://evm-rpc.arctic-1.seinetwork.

## Deploying a Pointer Contract

To deploy an EVM Pointer Contract that links to a CosmWasm contract, you can use the following command:
To deploy a Pointer Contract that links to a CosmWasm contract, you can use the following command:

```bash
seid tx evm register-evm-pointer [pointer type] [cw-address] --gas-fee-cap=<cap> --gas-limit=<limit> --evm-rpc=<rpc>
```

**Arguments**
#### Arguments

- `pointer type`: The type of pointer you want to create, either CW20, CW721, or NATIVE.
- `cw-address`: The address of the CosmWasm contract you want to create an EVM pointer for.

**Flags**
#### Flags

- `--gas-fee-cap`: The maximum amount of gas fees that can be charged for the transaction.
- `--gas-limit`: The maximum amount of gas that can be consumed by the transaction.
- `--evm-rpc`: The endpoint URL for the EVM RPC interface of the Sei blockchain. This URL is used by the `seid` command to interact with the Sei EVM.

### Confirmation

After initially registering a pointer, it is advisable to confirm registration by using the following command:

```bash
seid query evm pointer [type] [pointee] [flags]
```

#### Arguments

- `pointer type`: The type of pointer you want to create, either CW20, CW721, or NATIVE.
- `cw-address`: The address of the CosmWasm contract you want to create an EVM pointer for.

#### Flags

- `--height int`: Use a specific height to query state at (this can error if the node is pruning state).

- `--node string`: `<host>:<port>` to Tendermint RPC interface for this chain

- `--output string`: Output format (text|json) (default "text").

<Callout type="info">
To learn more about the various command line arguments and flags, use the `--help` flag for any CLI commands. For example:
For a quick-reference for flags/args and syntax, use the `--help` flag with any command. For example:

```bash
seid tx evm --help
```

</Callout>

## CosmWasm >> ERC Pointer
@@ -100,11 +122,11 @@ To deploy a CW20 Pointer Contract that links to an ERC20 token, you can use the
seid tx evm register-cw-pointer ERC20 $ERC20_TOKEN_ADDRESS --from=$SENDER --chain-id=arctic-1 --broadcast-mode=block --gas=200000 --fees=5000usei --node=https://rpc.arctic-1.seinetwork.io
```

**Arguments**
#### Arguments

- `ERC20_TOKEN_ADDRESS`: The contract address of the ERC20 token you want to create a CW20 pointer for.

**Flags**
#### Flags

- `--from`: Keyfile (by name) from which the tx is sent. This address must have enough balance to cover transaction fees.
- `--chain-id`: Identifies the specific chain of the Sei network you're interacting with. `arctic-1` refers to the Sei devnet.
@@ -125,11 +147,11 @@ To deploy a CW721 Pointer Contract that links to an ERC721 token, you can use th
seid tx evm register-cw-pointer ERC721 $ERC721_TOKEN_ADDRESS --from=$SENDER --chain-id=arctic-1 --broadcast-mode=block --gas=200000 --fees=5000usei --node=https://rpc.arctic-1.seinetwork.io
```

**Arguments**
#### Arguments

- `ERC721_TOKEN_ADDRESS`: The contract address of the ERC721 token you want to create a CW721 pointer for.

**Flags**
#### Flags

- `--from`: Keyfile (by name) from which the tx is sent. This address must have enough balance to cover transaction fees.
- `--chain-id`: Identifies the specific chain of the Sei network you're interacting with. `arctic-1` refers to the Sei devnet.
@@ -148,11 +170,11 @@ To deploy an ERC20 Pointer Contract that links to a CW20 token, you can use the
seid tx evm register-evm-pointer CW20 $CW20_TOKEN_ADDRESS --from=$SENDER --chain-id=arctic-1 --broadcast-mode=block --gas=200000 --fees=5000usei --node=https://rpc.arctic-1.seinetwork.io
```

**Arguments**
#### Arguments

- `CW20_TOKEN_ADDRESS`: The contract address of the CW20 token you want to create an ERC20 pointer for.

**Flags**
#### Flags

- `--from`: Keyfile (by name) from which the tx is sent. This address must have enough balance to cover transaction fees.
- `--chain-id`: Identifies the specific chain of the Sei network you're interacting with. `arctic-1` refers to the Sei devnet.
@@ -169,11 +191,11 @@ To deploy an ERC721 Pointer Contract that links to a CW721 token, you can use th
seid tx evm register-evm-pointer CW721 $CW721_TOKEN_ADDRESS --from=$SENDER --chain-id=arctic-1 --broadcast-mode=block --gas=200000 --fees=5000usei --node=https://rpc.arctic-1.seinetwork.io
```

**Arguments**
#### Arguments

- `CW721_TOKEN_ADDRESS`: The contract address of the CW721 token you want to create an ERC721 pointer for.

**Flags**
#### Flags

- `--from`: Keyfile (by name) from which the tx is sent. This address must have enough balance to cover transaction fees.
- `--chain-id`: Identifies the specific chain of the Sei network you're interacting with. `arctic-1` refers to the Sei devnet.
6 changes: 1 addition & 5 deletions pages/node-operators.mdx
Original file line number Diff line number Diff line change
@@ -91,13 +91,9 @@ apt install nano make build-essential gcc git jq chrony tar curl lz4 wget -y
```

<div class="callout custom-green">
For light-client setup, stop here. Add a public RPC endpoint to the `node` line in `~/.sei/config/client.toml`.
For light-client setup stop here, and add an RPC connection to `client.toml` as a final step.
</div>

<Callout type="info">
For full-node setup, keep going.
</Callout>

#### Configure Node

1. Set persistent peers: