Add testnet info to wallet
This commit is contained in:
@@ -30,10 +30,10 @@ export const ConnectWallet = ({
|
||||
return (
|
||||
<Paper style={{ marginTop: '1rem', padding: '1rem' }}>
|
||||
<Typography variant="h5" textAlign="center">
|
||||
Connect to your account
|
||||
Connect to your testnet account
|
||||
</Typography>
|
||||
<Box padding={3}>
|
||||
<Typography variant="h6">Your account</Typography>
|
||||
<Typography variant="h6">Your testnet account:</Typography>
|
||||
<Box marginY={3}>
|
||||
<Typography variant="body1" marginBottom={3}>
|
||||
Enter the mnemonic
|
||||
|
||||
@@ -73,7 +73,7 @@ export default function Mixnodes() {
|
||||
const cosmWasmClient = await SigningCosmWasmClient.connect("wss://rpc.nymtech.net:443");
|
||||
const client = new contracts.Mixnet.MixnetQueryClient(
|
||||
cosmWasmClient,
|
||||
"n17srjznxl9dvzdkpwpw24gg668wc73val88a6m5ajg6ankwvz9wtst0cznr" // the contract address (which is different on mainnet, QA, etc)
|
||||
"n17srjznxl9dvzdkpwpw24gg668wc73val88a6m5ajg6ankwvz9wtst0cznr" // the mainnet mixnet contract address (which will be different on mainnet, QA, etc)
|
||||
);
|
||||
const result = await client.getMixNodesDetailed({});
|
||||
setMixnodes(result.nodes)
|
||||
|
||||
@@ -6,7 +6,7 @@ import FormattedWalletConnectCode from '../../code-examples/wallet-connect-code.
|
||||
import FormattedWalletSendTokensCode from '../../code-examples/wallet-sendTokens-code.mdx';
|
||||
import FormattedWalletDelegationsCode from '../../code-examples/wallet-delegations-code.mdx';
|
||||
|
||||
Here's a small wallet example for you to test out!
|
||||
Here's a small wallet example using testnet for you to test out!
|
||||
|
||||
|
||||
<Wallet type="connect"/>
|
||||
|
||||
Reference in New Issue
Block a user