Add esbuild callout
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import { Callout } from 'nextra/components';
|
||||
|
||||
# Troubleshooting bundling with ESbuild
|
||||
|
||||
If you've been following the steps outlined in the Examples section, your development environment should be configured as follows:
|
||||
@@ -22,4 +24,9 @@ Install the required package:
|
||||
npm install @nymproject/< PACKAGE_NAME >
|
||||
```
|
||||
|
||||
By implementing the provided code for the various components in the step-by-step examples section, you should be able to set-up and run your application without encountering any bundling challenges!
|
||||
<Callout type="info" emoji="ℹ️">
|
||||
Remember that the CosmosKit example will require you to make use of polyfills.
|
||||
</Callout>
|
||||
|
||||
By implementing the provided code for the various components in the step-by-step examples section, you should be able to set-up and run your application without encountering any bundling challenges!
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ export default defineConfig({
|
||||
Your components have to be wrapped into a [ChainProvider](https://docs.cosmoskit.com/chain-provider),
|
||||
in order to use the `useChain('nyx')` hook. The nyx chain is provided in the 'chain-registry' NPM package by default.
|
||||
|
||||
Now, go to the `src` folder and open your `App.tsx` file to replace all the code with the following:
|
||||
Now, go to the `src` folder and open your `App.tsx` file to replace all the code with the following, which will allow you to connect and disconnect a Ledger or Keplr wallet to Nyx:
|
||||
|
||||
```ts
|
||||
import "./App.css";
|
||||
@@ -154,5 +154,4 @@ export default function App() {
|
||||
|
||||
)
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
@@ -5,12 +5,12 @@ import FormattedCosmoskitExampleCode from '../../code-examples/cosmoskit-example
|
||||
|
||||
# Cosmos Kit
|
||||
|
||||
Below is an example that uses [CosmosKit](https://cosmoskit.com/) to connect your [Keplr wallet](https://www.keplr.app/) or
|
||||
Below is an example that uses [CosmosKit](https://cosmoskit.com/) to connect and sign a fake transaction with your [Keplr wallet](https://www.keplr.app/) or
|
||||
[Ledger hardware wallet](https://www.ledger.com/) to this page:
|
||||
|
||||
<CosmosKit />
|
||||
|
||||
Once you connect either Keplr or your hardware Ledger, you can request a fake transaction to be signed. The hash
|
||||
Once you connect either Keplr or your hardware Ledger, you can request the fake transaction to be signed. The hash
|
||||
of the message will be displayed.
|
||||
|
||||
<Callout type="info" emoji="ℹ️">
|
||||
|
||||
Reference in New Issue
Block a user