Skip to content

Commit eb690b7

Browse files
committed
feat: init Perun
1 parent 7f3bc48 commit eb690b7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+4752
-14
lines changed

packages/neuron-ui/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
"displayName": "UI Tests"
4848
},
4949
"dependencies": {
50+
"@ckb-connect/perun-wallet-wrapper": "1.0.1",
5051
"@ckb-lumos/base": "0.23.0",
5152
"@ckb-lumos/bi": "0.23.0",
5253
"@ckb-lumos/codec": "0.23.0",
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { useState } from '../../states'
2+
3+
export const usePerun = () => {
4+
const { perunState } = useState()
5+
// TODO: Register some callbacks here if needed.
6+
return perunState
7+
}

0 commit comments

Comments
 (0)