Skip to content

Commit d5816dd

Browse files
committed
update
1 parent 1fde5ec commit d5816dd

File tree

4 files changed

+28
-0
lines changed

4 files changed

+28
-0
lines changed

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,3 +119,31 @@ interface iAccountContext {
119119
contractsByChain: ContractInfo[];
120120
}
121121
```
122+
123+
## DevTools
124+
125+
To ease up development, we also provide a development widget which can serve as
126+
127+
- Wallet
128+
- Contract Management and interaction similar to Remix
129+
- Code generation
130+
- Resizable, collapsable, dark and light mode
131+
132+
```javascript
133+
import React from "react";
134+
import { AccountProvider, WalletDevTool } from "wallet-sdk-react";
135+
136+
const App = () => {
137+
return (
138+
<AccountProvider>
139+
<MyComponent />
140+
{/* Just insert WalletDevTool anywhere inside AccountProvider */}
141+
<WalletDevTool />
142+
</AccountProvider>
143+
);
144+
};
145+
```
146+
147+
![screenshot1!](assets/devtool1.png)
148+
![screenshot2!](assets/devtool2.png)
149+
![screenshot3!](assets/devtool3.png)

assets/devtool1.png

29.6 KB
Loading

assets/devtool2.png

40.7 KB
Loading

assets/devtool3.png

55.7 KB
Loading

0 commit comments

Comments
 (0)