Skip to content

Commit 5886ffc

Browse files
committed
trim IBC, tokenfactory and unused api
1 parent 54e11a7 commit 5886ffc

File tree

8 files changed

+17
-40129
lines changed

8 files changed

+17
-40129
lines changed

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,3 @@ To propose changes directly, you can open a Pull Request against this repository
5555
Alternatively, if you have more general suggestions on how we can improve or correct these docs, you can [open an issue](https://github.com/sei-protocol/sei-docs/issues).
5656

5757
### Local Development
58-
59-
#### Generating Cosmos API Reference Docs
60-
61-
Run the script in the data directory to generate the Cosmos API reference docs. If you need to get an updated openapi json file, that can be generated from the `sei-chain` repo using IgniteCLI.

content/evm/differences-with-ethereum.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Cosmos SDK and CosmWasm functionality will be deprecated in favor of EVM-only. F
105105
- **Sei is a dual-execution environment (EVM and Cosmos-SDK).** This means:
106106
- Non-EVM transactions can update EVM-accessible state.
107107
- For example, an account's SEI balance can be affected by both Cosmos (bank send, wasm execute) transactions as well as EVM send transactions
108-
- Sei assets can not only exist as EVM (i.e., ERC20/721/1155), but also as CW (i.e., CW20, CW721) or as "native" (Sei, IBC, Tokenfactory).
108+
- Sei assets can not only exist as EVM (i.e., ERC20/721/1155), but also as CW (i.e., CW20, CW721) or as "native" (Sei).
109109
- User accounts on Sei have [two addresses](/learn/accounts) derived from the same public key (Cosmos Bech32 and EVM-compatible 0x…)
110110
- Interoperability between EVM and Cosmos-SDK modules is governed and navigated via [precompiles](./precompiles/example-usage) and [pointer contracts](/learn/pointers)
111111

content/evm/precompiles/cosmwasm-precompiles/pointer.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ Each pointer type requires specific parameters:
211211
<tr>
212212
<td className="px-4 py-3 text-sm text-neutral-900 dark:text-neutral-100 whitespace-nowrap font-medium">**Native**</td>
213213
<td className="px-4 py-3 text-sm text-neutral-600 dark:text-neutral-400">Token denomination</td>
214-
<td className="px-4 py-3 text-sm text-neutral-600 dark:text-neutral-400 font-mono">tokenfactory/...</td>
214+
<td className="px-4 py-3 text-sm text-neutral-600 dark:text-neutral-400 font-mono">uatom</td>
215215
<td className="px-4 py-3 text-sm text-neutral-600 dark:text-neutral-400">ERC20 compatible contract</td>
216216
</tr>
217217
<tr>
@@ -271,7 +271,7 @@ Each pointer type requires specific parameters:
271271
```typescript copy
272272
// Create a pointer for native SEI tokens
273273
async function createNativePointer() {
274-
const tokenDenom = 'tokenfactory/....'; // Native SEI denomination
274+
const tokenDenom = 'uatom'; // Native token denomination
275275

276276
try {
277277
console.log('Creating native pointer for:', tokenDenom);
@@ -551,7 +551,7 @@ contract CW721PointerManager {
551551
Once you create a native token pointer, you can interact with it like any erc20 token:
552552

553553
```typescript copy
554-
// After creating a native pointer for 'tokenfactory/....'
554+
// After creating a native pointer for a native token
555555
const ERC20_ABI = ['function balanceOf(address) view returns (uint256)', 'function transfer(address, uint256) returns (bool)', 'function approve(address, uint256) returns (bool)'];
556556

557557
const seiPointer = new ethers.Contract(pointerAddress, ERC20_ABI, signer);

content/evm/tokens.mdx

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: 'Viewing Tokens in MetaMask'
3-
description: 'Learn how to view and manage different token types in MetaMask with Sei network, including ERC20 tokens, ERC721 NFTs, TokenFactory assets, and CW20/CW721 tokens with pointer contracts.'
3+
description: 'Learn how to view and manage different token types in MetaMask with Sei network, including ERC20 tokens, ERC721 NFTs.'
44
keywords: ['metamask tokens', 'erc20', 'erc721', 'nft display', 'cw20 tokens', 'pointer contracts']
55
---
66

@@ -21,17 +21,4 @@ Viewing NFTs in MetaMask requires manual addition. Follow the steps provided
2121
[here](https://support.metamask.io/manage-crypto/nfts/nft-tokens-in-your-metamask-wallet/)
2222
to add and view your NFTs in the wallet.
2323

24-
#### TokenFactory & CW20 Tokens
25-
26-
TokenFactory and CW20 tokens can only be visible in MetaMask if there's a
27-
pointer contract created for it. A pointer contract enables a native Sei token
28-
to be linked across Cosmos and EVM through an ERC20 interface. Once created
29-
for a native token, you can import it as an ERC20 token using the steps above.
30-
31-
#### CW721 NFTs
32-
33-
Similarly, CW721 NFTs can only be visible in MetaMask if a pointer contract
34-
created for it. Once created, you can import it into your wallet like a standard
35-
ERC721 NFT.
36-
3724
<Callout type="info">Visit our [Pointer Contract page](/learn/pointers) to learn more.</Callout>

content/learn/dev-interoperability.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: "Sei Network Interoperability Framework"
3-
description: "Understand how Sei enables seamless interaction between EVM and Cosmos ecosystems through its dual address system, precompiles, and pointer contracts."
4-
keywords: ["blockchain interoperability", "EVM Cosmos bridge", "dual address system", "precompile contracts", "pointer contracts"]
2+
title: 'Sei Network Interoperability Framework'
3+
description: 'Understand how Sei enables seamless interaction between EVM and Cosmos ecosystems through its dual address system, precompiles, and pointer contracts.'
4+
keywords: ['blockchain interoperability', 'EVM Cosmos bridge', 'dual address system', 'precompile contracts', 'pointer contracts']
55
---
66

77
import { ImageWithCaption } from '../../src/components/ImageWithCaption';
@@ -50,8 +50,8 @@ For instructions on utilizing EVM precompiles, refer to the
5050
Pointer Contracts are a unique feature introduced on Sei, designed to enhance
5151
interoperability between EVM and Cosmos environments. These contracts serve as a proxy, or interface for either token standard, making them compatible with both EVM and Cosmos-SDK clients.
5252

53-
Pointer contracts can be deployed for any Token Factory, Smart Contract (ERC20,
54-
ERC721, etc.), and any IBC denom.
53+
Pointer contracts can be deployed for any Smart Contract (ERC20,
54+
ERC721, etc.).
5555

5656
## Example Diagram
5757

content/learn/dev-token-standards.mdx

Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: 'Token Standards'
3-
description: 'Explore the different token types on Sei including native SEI, TokenFactory tokens, smart contract tokens (ERC20/CW20), NFTs, and IBC tokens, with implementation guidance for each standard.'
4-
keywords: ['token standards', 'erc20', 'cw20', 'nfts', 'tokenfactory', 'ibc tokens']
3+
description: 'Explore the different token types on Sei including native SEI, smart contract tokens (ERC20/CW20), and NFTs, with implementation guidance for each standard.'
4+
keywords: ['token standards', 'erc20', 'cw20', 'nfts']
55
---
66

77
import { Callout } from 'nextra/components';
@@ -12,12 +12,10 @@ In this section, we delve into the various token standards supported on Sei.
1212
Understanding these standards is crucial for developers as they form the
1313
foundation of many decentralized applications.
1414

15-
Sei offers support for four main token types:
15+
Sei offers support for the following token types:
1616

1717
- [Sei Token](#sei-token)
18-
- [Token Factory Tokens](#tokenfactory)
1918
- [Smart Contract Tokens](#smart-contract-tokens)
20-
- [IBC Tokens](#ibc-tokens)
2119

2220
## Sei Token
2321

@@ -47,9 +45,7 @@ within the ecosystem.
4745
## Fungible Tokens
4846

4947
Fungible tokens are digital assets that are interchangeable with one another and
50-
are not unique. Sei supports both ERC20 and CW20 fungible token standards, so
51-
developers have the option to create tokens using the TokenFactory module, or via
52-
smart contract standards.
48+
are not unique. Sei supports both ERC20 and CW20 fungible token standards.
5349

5450
### Smart Contract Tokens
5551

@@ -70,7 +66,7 @@ smart contract standards.
7066
interactions for use with existing dApps and maximum compatibility.
7167

7268
<Callout type="info">
73-
**Interoperability:** Regardless of the choice, both TokenFactory and CW20/ERC20 tokens can have pointer contracts deployed, facilitating seamless cross-vm interoperability.
69+
**Interoperability:** CW20/ERC20 tokens can have pointer contracts deployed, facilitating seamless cross-vm interoperability.
7470

7571
For more detailed guidance, refer to the
7672
[Pointer Contracts Documentation](/learn/pointers).
@@ -92,16 +88,6 @@ ERC721 and CW721 standards as well as their counterparts with royalties (2981).
9288
- **Pointer Contract Registry**: A registry for tracking pointer contracts
9389
specific to NFTs.
9490

95-
## IBC Tokens
96-
97-
Inter-Blockchain Communication (IBC) is a trust-less and permission-less interchain
98-
messaging protocol that enables communication between many different chains. IBC
99-
tokens are tokens bridged from one chain to another using the IBC protocol.
100-
Channels are set up to establish communication between the chains. Each channel
101-
has a unique identifier and specific configurations. View the
102-
[IBC Channel](https://github.com/sei-protocol/chain-registry/blob/main/ibc_info.json)
103-
section of the Sei chain registry for channel information.
104-
105-
### Wrapped Sei (wSei)
91+
## Wrapped Sei (wSei)
10692

10793
Some dApps may require Sei tokens to be wrapped in order to interact with them (similar to Wrapped ETH on Ethereum). The Wrapped Sei Token WSEI is deployed under the contract address [`0xE30feDd158A2e3b13e9badaeABaFc5516e95e8C7`](https://seitrace.com/token/0xE30feDd158A2e3b13e9badaeABaFc5516e95e8C7?chain=pacific-1).

content/learn/ledger-setup.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,9 @@ import { Callout } from 'nextra/components';
1212

1313
The Sei network supports various crypto assets, including:
1414

15-
- Native tokens ($SEI, tokenfactory, IBC)
15+
- Native tokens ($SEI)
1616
- ERC20 tokens
1717
- ERC721 NFTs
18-
- CW20 tokens
19-
- CW721 NFTs
2018

2119
Using a Ledger hardware wallet ensures secure key management for users interacting
2220
with the Sei network.

0 commit comments

Comments
 (0)