intersectmbo / cardano-transactions Goto Github PK
View Code? Open in Web Editor NEWLibrary utilities for constructing and signing Cardano transactions.
License: Apache License 2.0
Library utilities for constructing and signing Cardano transactions.
License: Apache License 2.0
It seems that the entrypoint file app/Main.hs
only support Byron transaction, so it can't be used in cardano mainnet. Anyone can add the support of Shelley?
We want to be able to produce Shelley compliant signed transaction blob
This step fails with the latest release:
➜ cardano-wallet version
2020.5.6 (git revision: cf3d9c91e895d1a01f90e4ab3d10b81e260b3510)
➜ ROOT=$(cardano-wallet key root --wallet-style icarus fit today convince mixture crumble design identify swim jelly charge vast expect below science stove)
➜ XPRV=$(cardano-wallet key child --path 44H/1815H/0H/0/0 $ROOT)
Invalid argument `d0e88fa6fda2e8420993d1a96a9831766cc25949b3d25b322870f67ee5996b552a1dc00c80cded861e5aff11c241e3051dbd25f695cb326b6342e9bb85eb7ba66df287eb350eb9f0a5130328636acc9d82cfa2f37218197c47f0512739d9ded9'
➜ cardano-wallet version
2020.4.28 (git revision: aa46adfd67134bf713bd103d51541f6cb7597aa9)
➜ ROOT=$(cardano-wallet key root --wallet-style icarus fit today convince mixture crumble design identify swim jelly charge vast expect below science stove)
➜ XPRV=$(cardano-wallet key child --path 44H/1815H/0H/0/0 $ROOT)
➜
https://github.com/input-output-hk/cardano-wallet/releases/tag/v2020-05-06 👎
https://github.com/input-output-hk/cardano-wallet/releases/tag/v2020-04-28 👍
Information | - |
---|---|
Platform | Linux |
Installation | From Github Release |
It would be handy to have cardano-tx version
command to return the version of the binary.
The following documents/features are suggested by OSC Governance: Issue Template, PR Template, SECURITY.md
For Reference: https://intersect.gitbook.io/open-source-committee/policies/governance
Also see Documentation and Legal
This project seems stale. Is there an alternative one that serves the same goals?
When cardano-cli is used to submit a transaction, txID cannot be returned in real time. Is there any method to obtain TXID when submitting a transaction? Or is there any plan to support Shelley main network
cardano-transactions
library on Hackage:Data.UTxO.Transaction
.Hackage appears to be unable to build the package:
https://hackage.haskell.org/package/cardano-transactions-1.0.0/reports/
(Presumably because of other library dependencies from the Cardano ecosystem that are not yet on Hackage.)
Being able to view the documentation on Hackage would be useful, since:
master
.test
This repo has been marked as core tech and is part of initiative of repo preparation, part of this includes adding needed missing documentation.
This repo in particular needs:
Explain how to make a contribution (Contributing MD)
Include the Standard Code of Conduct
Identify the Core Maintainers
Tried to call this:
cat shelley_phrase.prv \
| cardano-address key from-recovery-phrase Shelley \
| cardano-address key child 1852H/1815H/0H/0/0 --base16
but got error:
Invalid option '--base16'
Usage: cardano-address ((-v|--version) | COMMAND)
Command-line for address and key manipulation in Cardano.
Is the --base16
still supported? I am using
3.5.0 @ 9fe7084c9c53b9edf3eba34ee8459c896734ac7a
Thanks.
As an exchange developer I want to be able to install cardano-tx using a docker image so that I may easily run test transactions.
User can run:
docker pull iohk/cardano-tx
docker run --rm iohk/cardano-tx --help
Where to build the image? Dockerhub? From within github workflow?
I was trying to follow -> https://github.com/input-output-hk/cardano-transactions/wiki/How-to-submit-transaction-via-cardano-tx-CLI
To construct transaction on Shelley testnet using Shelley wallet, but cannot do this:
cardano-tx empty 42 \
| cardano-tx add-input 1 acb83e38e1d3c63129236673572389b0c6cdaa691d7d179dad52033fb8b0dc7a \
| cardano-tx add-output 1 009906685c73845c002b2ab77b35ee19f7386e28b5b606f6bdda9cac413c2aef9e9006816f92f27b74e69983176539e89165bd64034417603c0f4f2108584435c7 \
| cardano-tx add-output 9831859 00bf1b4a0be855e6904b8e0a3ad7a37ccfb617a4d15eb513d91c9836a7d3f9b89358f8781f43e7dcdf6f2cbbf0de73ae85f1a9c469298445ec940d327a0949fd88 \
| cardano-tx lock \
| cardano-tx sign-with $XPRV \
| cardano-tx serialize
👇
cannot parse value `00bf1b4a0be855e6904b8e0a3ad7a37ccfb617a4d15eb513d91c9836a7d3f9bc8a9nnot pars3e 5v8aflu8e7 8`10f043e7dcdf69906685c73845c002fb2ab772b3cb5ebe19f738f06de28be5b6067f3ae85f61ba9dcd4692984a9ca45ec940c413c2aed327fa90e949fd98006881'
6Usagfe92f27:b 74ec69983a1r7dan65o-t39ex a8d9d-o165utpbutd 6L40344OVELACE1 76A03cDDRES0f4S
Add fa2 108n5844ew 3out5putc to7'
the
Utsagraensa:ction c.a
rdano-tx add-output LOVELACE ADDRESS
Add a new output to the transaction.
DeserialiseFailure 0 "end of input"
DeserialiseFailure 0 "end of input"
DeserialiseFailure 0 "end of input"
I suppose it is due to the fact that cardano-tx add-output only support base58
encoded addresses:
$ cardano-tx add-output
An output is made of:
- A coin value in Lovelace (1 Ada = 1e6 Lovelace).
- A target address, base58-encoded.
Not sure if support for base16
needs to be added, but probably for bech32
as the Shelley addresses will be encoded like that in the wallet. 🤔
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.