Skip to content

Commit

Permalink
Update learn-guides-assets-create.md (#5623)
Browse files Browse the repository at this point in the history
* Update learn-guides-assets-create.md

* Update RPC-Connection.jsx
  • Loading branch information
DrW3RK authored Feb 22, 2024
1 parent f87561f commit 0eb4c4c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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

0 comments on commit 0eb4c4c

Please sign in to comment.