https://github.com/codytseng/clone-nostr-events
Clone your Nostr events with a new private key when your private key is leaked
https://github.com/codytseng/clone-nostr-events
Last synced: about 2 months ago
JSON representation
Clone your Nostr events with a new private key when your private key is leaked
- Host: GitHub
- URL: https://github.com/codytseng/clone-nostr-events
- Owner: CodyTseng
- License: mit
- Created: 2023-06-27T14:37:57.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-06-27T15:09:46.000Z (almost 2 years ago)
- Last Synced: 2025-01-31T04:48:39.546Z (4 months ago)
- Language: Go
- Size: 8.79 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# clone-nostr-events
Clone your Nostr events with a new private key when your private key is leaked.
## Build
Build clone-nostr-events by running (from the root of the repository):
```bash
go mod download # download dependencies
go build
```## Usage
```bash
./clone-nostr-events
```- `npub`: the npub of the account you want to clone.
- `initial relay`: the relay (need to have your relay list metadata) you want to start cloning from.
- `new nsec`: the nsec of the account you want to clone to.## Example
```bash
./clone-nostr-events npub15zt9nnv7azwdxapmc2d2vlklr47397mzg6vle57k6vlw7fgtq8ns8yprpd wss://nostr-relay.app nsec192kvunzhmtl2rfrzg3736lmedhcxjv8ar4d0tnqs0lgafrf9z2ns6lt98t
```## Donations
If you like this project, you can buy me a coffee ☕️ ⚡ [email protected] ⚡
## License
This project is MIT licensed.