forked from spacebudz/lucid
-
Notifications
You must be signed in to change notification settings - Fork 0
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
246ddd9
commit 1fdd92e
Showing
17 changed files
with
228 additions
and
285 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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { Lucid } from "./mod.ts"; | ||
|
||
const lucid = new Lucid(); | ||
lucid.utils = new Utils(lucid); | ||
const mintingPolicy = lucid.utils.nativeScriptFromJson({ | ||
type: "all", | ||
scripts: [ | ||
{ | ||
type: "sig", | ||
keyHash: "5bbae9aefd79f42808c8e72bf785da1ca0be913ded023f0a47d5f502", | ||
}, | ||
{ | ||
type: "before", | ||
slot: lucid.utils.unixTimeToSlot(new Date("2040-01-01").getTime()), | ||
}, | ||
], | ||
}); | ||
console.log(mintingPolicy); |
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,6 +1,6 @@ | ||
export { crypto, type Crypto, type SubtleCrypto, type AlgorithmIdentifier, type Algorithm, type RsaOaepParams, type BufferSource, type AesCtrParams, type AesCbcParams, type AesGcmParams, type CryptoKey, type KeyAlgorithm, type KeyType, type KeyUsage, type EcdhKeyDeriveParams, type HkdfParams, type HashAlgorithmIdentifier, type Pbkdf2Params, type AesDerivedKeyParams, type HmacImportParams, type JsonWebKey, type RsaOtherPrimesInfo, type KeyFormat, type RsaHashedKeyGenParams, type RsaKeyGenParams, type BigInteger, type EcKeyGenParams, type NamedCurve, type CryptoKeyPair, type AesKeyGenParams, type HmacKeyGenParams, type RsaHashedImportParams, type EcKeyImportParams, type AesKeyAlgorithm, type RsaPssParams, type EcdsaParams } from "@deno/shim-crypto"; | ||
export { default as WebSocket } from "ws"; | ||
export declare const dntGlobalThis: Omit<typeof globalThis, "crypto" | "WebSocket"> & { | ||
crypto: any; | ||
crypto: import("@deno/shim-crypto").Crypto; | ||
WebSocket: any; | ||
}; |
Binary file modified
BIN
-2.36 KB
(99%)
dist/esm/src/core/libs/cardano_message_signing/pkg/cardano_message_signing_bg.wasm
Binary file not shown.
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
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
Binary file modified
BIN
-23 KB
(99%)
dist/esm/src/core/libs/cardano_multiplatform_lib/pkg/cardano_multiplatform_lib_bg.wasm
Binary file not shown.
Oops, something went wrong.