Code Monkey home page Code Monkey logo

composable's Introduction



Composable Finance



Monorepo for Composable Finance

Latest Release Build Discord Bors Enabled

Documentation

To learn more about our ecosystem, vision, and product specifics - visit our mdbook.

Nix

We use nix in order to reproducibly build our products. We recommend either installing nix or switching to NixOS. Alternatively, you can run our packages with just docker installed. Our packages support both x86 and ARM architectures.

Configuration

Once you have nix or NixOS installed, you should enable the following features:

On NixOS

{
  nix = {
    useSandbox = "relaxed";
    extraOptions = ''
      experimental-features = nix-command flakes
    '';
  };
}

On non-NixOS

Set the contents of ~/.config/nix/nix.conf to

experimental-features = nix-command flakes
sandbox = relaxed

Building and running packages

You can now use nix flake show in order to view all of the packages we provide, such as composable-node and devnet-dali.

If you want to run the latest version of devnet-dali, for example, you can simply run the following: (You do not need to clone the repository in order to run this)

nix run "github:ComposableFi/composable#devnet-dali"

If you would like to run an older/pinned version of any package, you can include the commit hash in the package identifier lilke this:

nix run "github:ComposableFi/composable/d735de9#devnet-dali"

If you want to build/run packages based on a local copy of the sources, you can do that like this:

git clone [email protected]:ComposableFi/composable
cd composable
nix run ".#devnet-dali"

Nix within Docker

Do you not feel like installing nix? You can also use nix within docker like this:

docker volume create nix # cache builds

docker run -v nix:/nix -p 9988:9988 -it nixos/nix bash -c "nix run github:ComposableFi/composable#devnet-dali --extra-experimental-features nix-command --extra-experimental-features flakes"

composable's People

Contributors

andor0 avatar dzmitry-lahoda avatar hussein-aitlahcen avatar vivekvpandya avatar poisonphang avatar haroldsphinx avatar saadjhk avatar vimukthi-git avatar seunlanlege avatar kaiserkarel avatar bors[bot] avatar cor avatar martin-kiss avatar easteregg avatar benluelo avatar scruffy-dev avatar mikolaichuk avatar dominique-roth avatar comfi01 avatar flipchan avatar wizdave97 avatar jesseabram avatar dependabot[bot] avatar andresmechali avatar nimboya avatar bluewitch avatar c410-f3r avatar 0xbrainjar2 avatar mergify[bot] avatar ysfkel avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.