Skip to content

Commit a6f2447

Browse files
Merge pull request #39 from mlabs-haskell/calum/ctl-breaking-changes
Updating CTL version, fixing for breaking changes
2 parents 059df8b + 866fadd commit a6f2447

18 files changed

+1235
-537
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Use `spago test` to run the tests. Something like `nix build .#checks.<system>.s
1010

1111
The minting process currently requires some manual steps. To mint a new NFT:
1212

13-
- Upload a new image to nft.storage (e.g. using `seabug/scripts/mint-nft.sh`)
13+
- Upload a new image to nft.storage (e.g. using `seabug/scripts/mint-nft.sh`). [Pixabay](https://pixabay.com/photos/) is a good source of photos.
1414
- Uncomment [this line](https://github.com/mlabs-haskell/seabug-contracts/blob/cda88824f87e0b961b738c66a428b7ade77454be/index.js#L39)
1515
- Update the image info [here](https://github.com/mlabs-haskell/seabug-contracts/blob/cda88824f87e0b961b738c66a428b7ade77454be/src/Seabug/Seabug.purs#L34)
1616
- Make sure you're using the base36 encoded CID (`mint-nft.sh` prints this out)

exe/Main.purs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ module Main (main) where
33
import Contract.Prelude
44

55
import Contract.Address (ownPaymentPubKeyHash)
6-
import Contract.Monad (defaultTestnetContractConfig, runContract_)
6+
import Contract.Config (testnetConfig)
7+
import Contract.Monad (runContract)
78
import Effect.Aff (launchAff_)
89

910
main :: Effect Unit
1011
main = launchAff_ $ do
11-
cfg <- defaultTestnetContractConfig
12-
runContract_ cfg
12+
runContract testnetConfig
1313
$ log
1414
<<< show
1515
=<< ownPaymentPubKeyHash

0 commit comments

Comments
 (0)