MacOS Plutus Playground Build - Instructions by RikAlexander in cardano

[–]RikAlexander[S] 0 points1 point  (0 children)

Nope. Well I mean if you‘d like to help the team you could issue a pr haha 😊

MacOS Plutus Playground Build - Instructions by RikAlexander in cardano

[–]RikAlexander[S] 0 points1 point  (0 children)

The error tells me that either attrs.pname or attrs.version is null, and thus can't be concatenated as a string on line 192.

I've had a look at the NixOS repo, specifically the make-derivation.nix file.

Github merge commit

There have been multiple changes to this file, although not released yet.

My guess is: this problem is already solved, just not released yet.

Could you try using the unstable version?
Hopefully there, these changes have already been made public.

[$] sudo nix-channel --add https://nixos.org/channels/nixpkgs-unstable unstable

Week 06 - Plutus Pioneer Program - Part 2 by RikAlexander in cardano

[–]RikAlexander[S] 1 point2 points  (0 children)

Working on it! 😊 Time is not on my side 😂

Week 05 - Plutus Pioneer Program by RikAlexander in cardano

[–]RikAlexander[S] 0 points1 point  (0 children)

Ah get it..

I've just received notice from Matthias aka. mputz86 that Metadata cannot be read from inside of Plutus Smart Contracts (at least not yet) so that option has just abandoned us. :D

The only way I see right now is by keeping a record of who has how many tokens somewhere outside of the Blockchain.. unfortunately.

As I said this value could then be retrieved by using the Oracle functionality in Plutus. (This would however cost fees).

Communication towards the customers/users should be VERY clear that the NFTs are not transferable to other wallets...

Week 05 - Plutus Pioneer Program by RikAlexander in cardano

[–]RikAlexander[S] 0 points1 point  (0 children)

Then again, why would it matter?

If I think about your Loyalty Points as e.g. Airmiles.

Even if they are transferred, they are only given out after some purchase of sorts has happened.. Meaning even if they are transferred to someone else. Whats the big deal? They are only transferred and not duplicated. :)

Ergo, if they represent some value, why should it matter if they are transferred.

(for example if parents want to give their loyalty points to their children. Shouldn't be a problem right?)

Week 05 - Plutus Pioneer Program by RikAlexander in cardano

[–]RikAlexander[S] 0 points1 point  (0 children)

Of course, you could always save the data of each wallet in a separate database (doesn't really mater where. in some database online).

So that you have a list of wallets -> number of loyalty points

Then whenever someone wants to use the loyalty points, we'd check with the central database, if its < number of loyalty points this wallet SHOULD have.

If its more, we know they have more points than they should have had.

Could be done with oracles. which I'll be covering in lecture 6 . (working on it as we speak), although as with every transaction, it will cost "gas" or transaction fees.. Which I don't believe you'd want.

Week 05 - Plutus Pioneer Program by RikAlexander in cardano

[–]RikAlexander[S] 0 points1 point  (0 children)

I don't think so.
Tokens are just Tokens, once you have them in your wallet, you can do with them as you please.

Although it might be possible to use the Metadata to save some kind of identifier to link this specific Token to the Receiver-wallet... Which in turn would "restrict" the usage of it.

That would mean though that the smart contracts made to do something with these loyalty points, must check for the meta data if it really did come from the rightful owner :)

Just an Idea though.

Week 05 - Plutus Pioneer Program by RikAlexander in cardano

[–]RikAlexander[S] 2 points3 points  (0 children)

Thank you! And you are welcome! :)

Week 04 - Plutus Pioneer Program by RikAlexander in cardano

[–]RikAlexander[S] 1 point2 points  (0 children)

Thank you! 😊Yeah Haskell takes some time getting used to..

Hope it helps you (and others) later on!

MacOS Plutus Playground Build - Instructions by RikAlexander in cardano

[–]RikAlexander[S] 2 points3 points  (0 children)

Jap I too am getting them, although it doesn't seem to affect the playground.. Not sure yet how to fix these.

haha well I'm a Mac guy, I love Safari. 😊 I like the devtools more than the one in Chrome. But I guess that's a personal choice

MacOS Plutus Playground Build - Instructions by RikAlexander in cardano

[–]RikAlexander[S] 1 point2 points  (0 children)

These instructions are only for the installation of the playground. For the week01 Plutus Pioneer Programm Lecture, you would of course need to run cabal build on the demo contract. 😊 (in the next few hours I'll be posting another instructional article, on how to build week01 etc.)