Skip to content

Commit

Permalink
Bump
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandrokonrad committed Apr 5, 2023
1 parent 2626739 commit 41a7f57
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 10 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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(
Expand Down Expand Up @@ -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";


/**
Expand Down Expand Up @@ -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"/>
Expand All @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions contract/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
},
Expand Down
31 changes: 31 additions & 0 deletions contract/deno.lock

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

2 changes: 1 addition & 1 deletion deps.ts
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,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@spacebudz/nebula",
"version": "1.0.2",
"version": "1.0.3",
"license": "MIT",
"author": "Alessandro Konrad",
"description": "A Cardano NFT marketplace contract including chain indexer and event listener for individual projects.",
Expand Down

0 comments on commit 41a7f57

Please sign in to comment.