coinspark / sparkbit Goto Github PK
View Code? Open in Web Editor NEWSparkBit lightweight (SPV) wallet for the CoinSpark protocol.
License: MIT License
SparkBit lightweight (SPV) wallet for the CoinSpark protocol.
License: MIT License
Don't display tooltip in status bar 'Messages. Click to see more details'.
Don't allow clicking and highlighting of message background.
Hello Coinspark Team,
I am working through the instructions for the sparkbit-cli and have come across the following error:
root@PMX:~/sparkbit/sparkbit-cli# ./make.sh
Loading IDL from: ../barrister/sparkbit_api.json
Generating autogen/sparkbit/sparkbit.go as package sparkbit
Number of parallel builds: 1
--> linux/amd64: _/root/sparkbit/sparkbit-cli
1 errors occurred:
--> linux/amd64 error: exit status 2
Stderr: # _/root/sparkbit/sparkbit-cli
./sparkbit-cli.go:304: undefined: barrister.Global_insecure_ssl
mv: cannot stat ‘sparkbit-cli___386_’: No such file or directory
mv: cannot stat ‘sparkbit-cli___amd64_’: No such file or directory
Also, the same error occurs when I execute:
go run sparkbit-cli.go
root@PMX:~/sparkbit/sparkbit-cli# go run sparkbit-cli.go
./sparkbit-cli.go:304: undefined: barrister.Global_insecure_ssl
Not sure if this is a bug or if I am missing a step in the instructions.
My go version: go version go1.3.3 linux/amd64
I am grateful for any advice you can provide. Thanks in advance.
Best,
Ryan
Hi Bitcartel,
I am having an issue regarding the barrister IDL node.js bindings. In my definition of
sparkbit.prototype.getstatus = function(callback){
callback(null, "What Goes Here?");
};
How should I be handling the data in the callback? The response I receive from the call is:
ERR: {"code":-32001,"message":"Invalid response for sparkbit.getstatus: .version cannot be null"}
I have also tested:
sparkbit.prototype.getstatus = function(callback){
callback(null, { version: '', testnet: true, connections: 0, wallets: [] });
};
...but I just receive that object in the client response.
Any guidance you can provide on this is much appreciated!
Thanks in advance,
Ryan
Receiving the following error when executing the sparkbit-cli cmd listunspent:
ERROR: JsonRpcError: code=-32000 message=barrister-java: InvocationTargetException - Uncaught error executing: listunspent class: java.lang.NullPointerException message: null
Was working prior to sending an asset to a CoinSpark address in the wallet. Not sure if there is a connection between the two.
Thanks,
Ryan
Need to ignore the sytem locale and set the default language to English 'en' since localisation is currently disabled in Preferences.
A temporary fix for users is to edit sparkbit.properties and make sure:
languageCode=en
Hi guys,
Using the CoinSpark API to issue an asset and send it to a SparkBit wallet, I am downloading the contract pdf using the result.contract_final object. The entire process takes ~5.04 seconds from API call to downloading the contract and storing locally.
When the asset is sent to the wallet, the balance shows that the contract is invalid:
"status": "Contract file is invalid",
I have also tried to refresh the asset, but I still notice the contract shows invalid. The contract url for asset is available immediately upon download of the contract from the API callback.
Not sure if I am encoding the download wrong, and thus the asset hash is different even because the slightest change to the pdf content. that's my current working hypothesis...
additional details:
{
"asset_ref": "501353-5192-31783",
"total": {
"raw": 0,
"qty": 0,
"display": "0"
},
"spendable": {
"raw": 0,
"qty": 0,
"display": "0"
},
"name": "vex.c",
"name_short": "vex.c",
"domain": "a.peermarket.exchange",
"url": "http://a.peermarket.exchange/vex.c/",
"issuer": "Venture Equity Exchange",
"description": "cs vex.c",
"units": "100 USD",
"multiple": 10,
"status": "Contract file is invalid",
"valid": false,
"checked_unixtime": 1436653560,
"contract_url": "http://a.peermarket.exchange/vex.c/contract.pdf",
"contract_file": "sparkbit.sparkwallet.csfiles/asset000018_contract.pdf",
"genesis_txid": "277ca019269aaf0a5359ec911c58ca8a2b92267c070f097878fa94938d5feb3a",
"added_unixtime": 1436644004,
"issue_date": "11 July 2015, 7:46 pm",
"issue_unixtime": 1436643999,
"tracker_urls": [
"http://assets-testnet.coinspark.org"
],
"visible": true,
"refreshing": false
},
{
"asset_ref": "Awaiting new asset confirmation...",
"total": {
"raw": 0,
"qty": 0,
"display": "0"
},
"spendable": {
"raw": 0,
"qty": 0,
"display": "0"
},
"name": "vex.e",
"name_short": "vex.e",
"domain": "a.peermarket.exchange",
"url": "http://a.peermarket.exchange/vex.e/",
"issuer": "Venture Equity Exchange",
"description": "vex.e",
"units": "100 USD",
"multiple": 1,
"status": "Contract file is invalid",
"valid": false,
"checked_unixtime": 1436654059,
"contract_url": "http://a.peermarket.exchange/vex.e/contract.pdf",
"contract_file": "sparkbit.sparkwallet.csfiles/asset000020_contract.pdf",
"genesis_txid": "2f00e1772593dfc29f66e271280f1ca300a3fc9e2d27aa37b844e192e574f1e0",
"added_unixtime": 1436653384,
"issue_date": "11 July 2015, 10:23 pm",
"issue_unixtime": 1436653380,
"tracker_urls": [
"http://assets-testnet.coinspark.org"
],
"visible": true,
"refreshing": false
}
Thanks,
Ryan
https://code.google.com/r/jimburton618-bitcoinj-coinbase-tx/source/checkout is not good any longer.
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.