-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2626739
commit 41a7f57
Showing
5 changed files
with
41 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ | |
|
||
### Deno | ||
```js | ||
import { Contract } from "https://deno.land/x/[email protected].2/mod.ts"; | ||
import { Contract } from "https://deno.land/x/[email protected].3/mod.ts"; | ||
``` | ||
|
||
### NPM | ||
|
@@ -27,8 +27,8 @@ npm install @spacebudz/nebula | |
**Note**: The ideal way to handle the royalty token is to have it under the same `policy id` as the collection. This will make the authentication process smoother and more efficient. However, Nebula allows for specifying a different `policy id` if necessary. If you have a royalty token already you can skip the step of the royalty token creation. | ||
|
||
```ts | ||
import { Contract } from "https://deno.land/x/[email protected].2/contract/mod.ts" | ||
import { Lucid, Blockfrost } from "https://deno.land/x/[email protected].0/mod.ts" | ||
import { Contract } from "https://deno.land/x/[email protected].3/contract/mod.ts" | ||
import { Lucid, Blockfrost } from "https://deno.land/x/[email protected].1/mod.ts" | ||
|
||
const lucid = await Lucid.new( | ||
new Blockfrost( | ||
|
@@ -151,7 +151,7 @@ import { | |
Config, | ||
MarketplaceEvent, | ||
SaleEventData, | ||
} from "https://deno.land/x/[email protected].2/watcher/src/types.ts"; | ||
} from "https://deno.land/x/[email protected].3/watcher/src/types.ts"; | ||
|
||
|
||
/** | ||
|
@@ -259,7 +259,7 @@ export function onChange() { | |
2. Start the watcher: | ||
|
||
``` | ||
deno run -A https://deno.land/x/[email protected].2/watcher/mod.ts --ogmios-url ws://localhost:1337 --database ./marketplace.sqlite --config ./config.ts | ||
deno run -A https://deno.land/x/[email protected].3/watcher/mod.ts --ogmios-url ws://localhost:1337 --database ./marketplace.sqlite --config ./config.ts | ||
``` | ||
|
||
<img width="100%" src="./assets/watcher.png" align="center"/> | ||
|
@@ -269,7 +269,7 @@ deno run -A https://deno.land/x/[email protected]/watcher/mod.ts --ogmios-url ws://lo | |
Run the querier: | ||
|
||
``` | ||
deno run -A https://deno.land/x/[email protected].2/watcher/querier.ts --database ./marketplace.sqlite | ||
deno run -A https://deno.land/x/[email protected].3/watcher/querier.ts --database ./marketplace.sqlite | ||
``` | ||
|
||
Runs on port `3000` by default. It hosts the database and allows you to make simple queries. The API will likely be extended and improved over time. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,9 +25,9 @@ await build({ | |
type: "module", | ||
}, | ||
mappings: { | ||
"https://deno.land/x/[email protected].0/mod.ts": { | ||
"https://deno.land/x/[email protected].1/mod.ts": { | ||
name: "lucid-cardano", | ||
version: ">=0.9.4 <=0.10.0", | ||
version: ">=0.9.4 <=0.10.1", | ||
peerDependency: true, | ||
}, | ||
}, | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export * from "https://deno.land/x/[email protected].0/mod.ts"; | ||
export * from "https://deno.land/x/[email protected].1/mod.ts"; | ||
export { | ||
createClient, | ||
toShelleyCompatibleBlock, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters