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 learn-guides-assets-create.md #5623

Merged
merged 2 commits into from
Feb 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
6 changes: 3 additions & 3 deletions components/RPC-Connection.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ function RPC({ network, path, defaultValue, filter=undefined }) {
wsUrl = "wss://kusama-rpc.polkadot.io/";
break;
case Statemine:
wsUrl = "wss://statemine-rpc.polkadot.io/";
wsUrl = "wss://kusama-asset-hub-rpc.polkadot.io/";
break;
case Statemint:
wsUrl = "wss://statemint-rpc.polkadot.io/";
wsUrl = "wss://polkadot-asset-hub-rpc.polkadot.io/";
break;
default:
console.log(`Unknown network provided, ${network}`);
Expand Down Expand Up @@ -161,4 +161,4 @@ function applyFilter(value, filter, network, setReturnValue) {
}
}

export default RPC;
export default RPC;
2 changes: 1 addition & 1 deletion docs/learn/learn-guides-assets-create.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ transferring assets — both Fungible and Non-Fungible Tokens (NFTs). The native
hub is {{ polkadot: DOT :polkadot }}{{ kusama: KSM :kusama }}. The Existential Deposit (ED),
transaction fees, and the deposits for proxy/multisig operations are about 1/10th of the values on
the Relay chains. For example, the Existential Deposit of an Asset Hub account is
{{ polkadot: <RPC network="statemint" path="consts.balances.existentialDeposit" defaultValue={1000000000} filter="humanReadable"/>, :polkadot }}
{{ polkadot: <RPC network="statemint" path="consts.balances.existentialDeposit" defaultValue={100000000} filter="humanReadable"/>, :polkadot }}
{{ kusama: <RPC network="statemint" path="consts.balances.existentialDeposit" defaultValue={1000000000} filter="humanReadable"/>, :kusama }}
when compared to
{{ polkadot: <RPC network="polkadot" path="consts.balances.existentialDeposit" defaultValue={10000000000} filter="humanReadable"/> on Polkadot :polkadot }}
Expand Down
Loading