refactor: replace temporary nip46 file with official nostr-tools (#583)
This commit is contained in:
parent
ec11d53fac
commit
c4643b2d8b
6 changed files with 11 additions and 496 deletions
|
|
@ -2,7 +2,7 @@ import { Button } from '@/components/ui/button'
|
|||
import { Input } from '@/components/ui/input'
|
||||
import { DEFAULT_NOSTRCONNECT_RELAY } from '@/constants'
|
||||
import { useNostr } from '@/providers/NostrProvider'
|
||||
import { createNostrConnectURI, NostrConnectParams } from '@/providers/NostrProvider/nip46'
|
||||
import { createNostrConnectURI, NostrConnectParams } from 'nostr-tools/nip46'
|
||||
import { Check, Copy, Loader } from 'lucide-react'
|
||||
import { generateSecretKey, getPublicKey } from 'nostr-tools'
|
||||
import { useEffect, useLayoutEffect, useRef, useState } from 'react'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue