mscappini / tz.net Goto Github PK
View Code? Open in Web Editor NEW.NET Standard Tezos library
License: MIT License
.NET Standard Tezos library
License: MIT License
Hi mate, first of all great work on the dotnet library. Great to see dotnet devs in this area.
Im trying to send a unique identifier along with a "transaction" operation in order to track the payment in our backend. Have you ever tried that?
Thanks.
Anders.
Hi,
Wish I had known about this project ages ago. Great work and thank you for your contribution. I'm not sure if this is an issue related to the protocol change. I'm only just discovering this code base now and experimenting a bit. I'm getting an error on trying to do a transfer at the forge operations step. I get the message;
Failed to parse the request body: No case matched:
At /kind, unexpected string instead of endorsement
At /kind, unexpected string instead of seed_nonce_revelation
At /kind, unexpected string instead of double_endorsement_evidence
At /kind, unexpected string instead of double_baking_evidence
At /kind, unexpected string instead of activate_account
At /kind, unexpected string instead of proposals
At /kind, unexpected string instead of ballot
At /kind, unexpected string instead of reveal
Unhandled error (Invalid_argument "Z.of_substring_base: invalid digit")
At /kind, unexpected string instead of origination
This is reproducible with the equiv in curl that the code seems to be producing.
curl -v -X POST http://mainnet-node.tzscan.io:8732/chains/main/blocks/head/helpers/forge/operations -H "Content-type: application/json" --data '{
"branch": "BMXd4A5UYMiyDgz9AUrmrntv3Ms7Po9cxcbP4UcVKAUKQqrsTdF",
"contents": [
{
"destination": "KT1Tq3ZpWUzN4b3LxeqEpve7hSx6UzvFtkAC",
"amount": "1351426",
"storage_limit": "300",
"gas_limit": "10300",
"counter": "894825",
"fee": "0.142",
"source": "tz1WGpyzJ1WdZQyKgFN1MY1d7KExGzipFmPJ",
"kind": "transaction",
"parameters": {
"prim": "Unit",
"args": []
}
}
]
}'
I can't work out from the documentation what is wrong with this content. It sure looks right to me... Any guess what I'm doing wrong?
Thanks again for this class lib!
Brian
Hi Mr.
We are working to extend this library with offline signing. Can you explain what this part of the code does:
SignedBytes = forgedOpGroup.ToString() + "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
EncodedSignature = "edsigtXomBKi5CTRf5cjATJWSyaRvhfYNHqSUGrn4SdbYRcGwQrUGjzEfQDTuqHhuA8b2d8NarZjz8TRf65WkpQmo423BtomS8Q"
Is this some kind of entropy that needs to be generated? And why all the zeroes? :)
Thanks for any reply.
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.