Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
7771fe6
Add files required for npm packaging
nrutledge May 19, 2022
b435243
Update index.js and readme for npm packaging
nrutledge May 19, 2022
e9376f5
Fix marketplaceValidator json
nrutledge May 23, 2022
abe51ac
Upgrade CTL and fix errors
nrutledge May 23, 2022
dbea8a7
Bump CTL version and add getWallatBalance function
nrutledge May 27, 2022
cabfbf9
Fix non-json issues
samuelWilliams99 May 30, 2022
6e25b4e
Fix remaining build issues
samuelWilliams99 May 30, 2022
118e56b
Apply formatting
samuelWilliams99 May 30, 2022
2e4c5d3
Resolve misc. errors
nrutledge Jun 2, 2022
af82a87
Bump CTL version
nrutledge Jun 2, 2022
a77f69c
Add jssha dependency
nrutledge Jun 2, 2022
af4ebe4
Switch to client side hashing for Hashable ByteArray
nrutledge Jun 3, 2022
fc70a5f
Fix wrong token name used for minting NFT
nrutledge Jun 7, 2022
aca332c
Bump CTL version for fee fixes
nrutledge Jun 7, 2022
b760e46
Add fd to nix develop (require for seabug build)
Jun 23, 2022
027d871
Fix warning
Jun 27, 2022
f6b1831
Fix logLevel configuration.
Jun 27, 2022
185659c
Auto-formatting change
rynoV Jun 28, 2022
3bc3a83
Copy over seabug-specific metadata code from CTL
rynoV Jun 28, 2022
5204466
Copy seabug metadata tests from CTL
rynoV Jun 29, 2022
823da38
Merge pull request #6 from mlabs-haskell/aleksandr/fd-to-nix-develop
ryukzak Jul 1, 2022
3431f7c
Add logging for policy, unapllied policy and policy args.
Jun 29, 2022
3771b24
Update hardcoded minting policy and bump CTL version
Jul 1, 2022
cf6e1f1
Merge remote-tracking branch 'origin/calum/move-metadata-code' into a…
Jul 1, 2022
d5b0d1e
Update CTL version
Jul 3, 2022
ae43148
Add more trace code for debugging purpose.
Jul 3, 2022
b09d350
Tidying up
rynoV Jul 6, 2022
0dcae77
Merge pull request #7 from mlabs-haskell/calum/move-metadata-code
rynoV Jul 6, 2022
8b69d29
Bump CTL version (2.0.0-alpha + patches).
Jul 5, 2022
a6865a1
Merge remote-tracking branch 'origin/neil/typescript-api' into aleksa…
Jul 7, 2022
6efa09b
Fix formatting.
Jul 7, 2022
96adb20
Clean up.
Jul 7, 2022
3dcb6c6
Fix CI building process (dependencies and warnings)
Jul 7, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
.github
.psc-ide-port
.spago
.spago2nix
dist
exe
flake.lock
Makefile
node_modules
output
src
test
*purs
*.nix
*.dhall
Binary file added .output.js.swm
Binary file not shown.
Binary file added .output.js.swn
Binary file not shown.
Binary file added .output.js.swo
Binary file not shown.
Binary file added .output.js.swp
Binary file not shown.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ SHELL := bash
.SHELLFLAGS := -eu -o pipefail -c

ps-sources := $(shell fd -epurs)
ps-entrypoint := Main
ps-entrypoint := Seabug
ps-bundle = spago bundle-module -m ${ps-entrypoint} --to output.js

run-dev:
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# seabug-contracts

TODO
A library for interacting with Seabug smart contracts via the Cardano Transaction Lib (CTL).

## Tests

Use `spago test` to run the tests. Something like `nix build .#checks.<system>.seabug-contracts` can also be used, where `<system>` is something like `x86_64-linux`.
4 changes: 2 additions & 2 deletions exe/Main.purs
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ module Main (main) where
import Contract.Prelude

import Contract.Address (ownPaymentPubKeyHash)
import Contract.Monad (defaultContractConfig, runContract_)
import Contract.Monad (defaultTestnetContractConfig, runContract_)
import Effect.Aff (launchAff_)

main :: Effect Unit
main = launchAff_ $ do
cfg <- defaultContractConfig
cfg <- defaultTestnetContractConfig
runContract_ cfg
$ log
<<< show
Expand Down
Loading