Giter Site home page Giter Site logo

Radixir

Radix + Elixir

Installation

The package can be installed by adding radixir to your list of dependencies in mix.exs:

def deps do
  [
    {:radixir, "~> 0.0.5"}
  ]
end

Documentation

Check out the docs here https://hexdocs.pm/radixir.

Environment variables

See .envrc.example for an example of what environment variables can be set. Note that Radixir can still be used even if no environment variables are set.

Configuration

Place the following in runtime.exs if using environment variables:

config :radixir, Radixir.Config,
  gateway_api_url: System.get_env("GATEWAY_API_URL"),
  core_api_url: System.get_env("CORE_API_URL"),
  system_api_url: System.get_env("SYSTEM_API_URL"),
  testnet: System.get_env("TESTNET"),
  usernames: System.get_env("USERNAMES"),
  passwords: System.get_env("PASSWORDS")

The following will need to be set in config.exs or runtime.exs:

config :block_keys, :ec_module, :libsecp256k1

Getting started locally

  • Install asdf
  • Clone radixir repo
  • Run asdf install while in radixir directory
  • Run iex -S mix to start using radixir

Example Usage

Usage examples can be found in /lib/examples.

Github

Radixir

License

Radixir is released under the Apache License 2.0 - see the LICENSE file.

radixir's Projects

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.