Hot answers tagged

4

In step 7, there should be a 2nd line instructing you clone the plutus-apps. Change plutus.git to plutus-apps.git in step 7 to clone it, then run the playground nix-build from the top of that second repo.


2

You will not be able to build this in less than 8G of RAM. Adding swap to make the total memory at least 8G may help.


2

To make npm work, you can try GC_DONT_GC=1 npm start. However; I found the way the playground starts using nix-build in the script to start the server and running npm to get the frontend fickle and convoluted. My coworker Shay and I worked on https://github.com/input-output-hk/plutus-pioneers. This is still pretty raw and hopefully the logic will eventually ...


2

You're right. You can exclude just the big chain subdirectory. For mac users unfamiliar with the procedure: open System Preferences, click Spotlight, Privacy tab, +, browse to and select the ~/Library/Application Support/Daedalus Mainnet/chain directory, click Choose. This will exclude just the downloaded blockchain data from Spotlight search and Time ...


1

The only thing required to restore wallets is the recovery phrase. Therefore it is safe and efficient to exclude all Daedalus directories from time-machine if you have your recovery phrase stored safely elsewhere. It also means that you can be less concerned with any changes to the disk structure and usage that may cause your time-machine backups to ...


1

When starting the client server on macOS use GC_DONT_GC=1 npm run start. That is, include GC_DONT_GC=1 in front of the command npm run start. Then, open a browser tab to http://localhost:8009/ and, using Brave Browser, Advance from warnings. (Not https, see note below). Note: I had to update my Plutus-apps/plutus-playground-client/webpack.config.js file per ...


1

macOS nix setup on x86_64 (Intel, AMD) and aarch64 (Apple Silicon) should be identical. Running the installer from the official website, should get you a proper install. You do want to add the iohk substituter to get access to the cached builds: https://hydra.iohk.io hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= I'm fairly sure that the iohk....


1

I have found the solution!! Thanks to starting nix-shell on mac "Operation not permitted" MacOs seems to require that the Nix Sandbox setting is set to OFF. I have turned it on, while setting Nix, as I read somewhere that it should be turning ON (It seems that by default it is OFF in MacOS, so if you didn't changed it in the nix.conf you should be ...


1

No, it is not. In fact I'm running the plutus-playground-server and plutus-playground-client on an x86_64-darwin machine with nix right now.


1

These missing symbols _crypto_vrf_* are in libsoidum-vrf library. You seem to be linking the cardano-node against your systems provided libsodium. That sadly doesn't work as the official libsodium does not have the vrf extension.


1

The line Falling back to older state () means you probably need to run cabal update first (which downloads a copy of the current hackage index state).


1

I found this /etc/nix/nix.conf to work for my macOS i7 Monterey (v12.1). It was recommended to turn the sandbox FALSE because 'not recommended' per Ref #1 below. build-users-group = nixbld substituters = https://hydra.iohk.io https://iohk.cachix.org https://cache.nixos.org/ trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+...


1

So the solution was simply to install nix-darwin https://github.com/LnL7/nix-darwin simply follow the instruction on the github page above, and now I can access my nix-shell


Only top voted, non community-wiki answers of a minimum length are eligible