Skip to content

Commit

Permalink
rename package correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
dskvr committed Sep 14, 2024
1 parent a253f54 commit 513fb37
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "nostr_miner"
name = "notemine"
version = "0.1.0"
edition = "2021"
description = "A Nostr event miner compiled to WebAssembly"
repository = "https://github.com/yourusername/nostr_miner" # Replace with your repository URL
repository = "https://github.com/sandwichfarm/notemine"
license = "MIT" # Choose an appropriate license

[lib]
Expand Down
2 changes: 1 addition & 1 deletion demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,4 @@ <h2>Result:</h2>
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<script type="module" src="main.js"></script>
</body>
</html>
</html>
6 changes: 3 additions & 3 deletions demo/main.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
let minedEvent = {}

//conf
const CLIENT = 'getwired.app'
const TOPIC = 'wasm-miner-demo'
const CLIENT = 'notemine'
const TOPIC = 'notemine'
const RELAYS = ['wss://nostr.bitcoiner.social', 'wss://nostr.bitcoiner.social', 'wss://nostr.mom', 'wss://nos.lol', 'wss://powrelay.xyz', 'wss://powrelay.xyz', 'wss://labour.fiatjaf.com/', 'wss://nostr.lu.ke', 'wss://140.f7z.io']

const Relay = window.NostrTools.Relay
Expand All @@ -16,7 +16,7 @@ const pool = new SimplePool()
let pubs = []

//worker
const worker = new Worker('worker.js', { type: 'module' });
const worker = new Worker('./worker.js', { type: 'module' });

//dom
const mineButton = document.getElementById('mineButton');
Expand Down

0 comments on commit 513fb37

Please sign in to comment.