{"repo":"kommitters/kadena.ex","free":true,"listed":false,"github":"https://github.com/kommitters/kadena.ex","clone":"git clone https://github.com/kommitters/kadena.ex.git","description":"Elixir library to interact with the Kadena blockchain","language":"Elixir","stars":11,"topics":["blockchain","elixir","elixir-lang","kadena"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"Kadena.ex Kadena.ex is an open source library for Elixir that allows developers to interact with Kadena Chainweb. What can you do with Kadena.ex? - Build PACT commands for transactions. - Implement the cryptography required by the network. - Send, test and update smart contracts. - Interact with Chainweb endpoints. - Pact API: listen, local, poll, send, spv . - P2P API: Cut, Block Hashes, Block Headers, Block Payload, Mempool, Peer . Installation Add kadena to your list of dependencies in mix.exs : Configuration The default HTTP Client is :hackney . Options can be passed to :hackney via configuration parameters. Custom HTTP Client kadena.ex allows you to use the HTTP client of your choice. See [ Kadena.Chainweb.Client.Spec ][http client spec] for details. Custom JSON library Following the same approach as the HTTP client, the JSON parsing library can also be configured. Defaults to [ Jason ][jason url]. Keypairs Curve25519 keypair of (PUBLIC,SECRET) match. Key values are base-16 strings of length 32. Generate a KeyPair Derive a keyPair from a secret key Adding capabilities to a KeyPair PACT Commands kadena.ex allows the construction of execution and continuation commands in a semantic way for developers. Attributes NetworkID Backend-specific identifier of target network. Allowed values: :testnet04 :mainnet01 :development . Code Executable PACT code. Metadata Public metadata for Chainweb. Nonce An arbitrary user-supplied value. Defaults to current timestamp. EnvData Environmen","default_branch":null,"files":null,"tree":[],"storefront":"/r/kommitters","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kommitters/kadena.ex/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}