js-bigchaindb-driver icon indicating copy to clipboard operation
js-bigchaindb-driver copied to clipboard

Official BigchainDB JavaScript driver for Node.js and the browser

Results 29 js-bigchaindb-driver issues
Sort by recently updated
recently updated
newest added

TypeError: Cannot read property '0' of undefined chain_app_1 | at /app/node_modules/bigchaindb-driver/dist/node/transaction.js:285:49 chain_app_1 | at Array.map () chain_app_1 | at Function.makeTransferTransaction (/app/node_modules/bigchaindb-driver/dist/node/transaction.js:280:41) chain_app_1 | at Promise (/app/chain.js:205:60) chain_app_1 | at new...

ERROR in vendors.bigchaindb-driver.amd.js from UglifyJs Unexpected token: keyword «const» [vendors.bigchaindb-driver.amd.js:10158,0] getting this error, please suggest where I am missing

Here is the method: https://github.com/bigchaindb/bigchaindb/issues/1780

When using the minified javascript from dist I receive an error when sending a TRANSFER request containing: 400 Invalid transaction (InvalidSignature): Transaction Signature is invalid

Currently the calls to requests, such as `postTransactionCommit(createTranfer)`, when error happens, the driver returns an error that just includes blanket 400 response, which is not useful. ![image](https://user-images.githubusercontent.com/4610831/39341987-621dd880-49f3-11e8-9b00-8965f7ff81dc.png) In many cases,...

enhancement

TypeError: Cannot read property 'id' of undefined at Object.makeTransferTransaction (C:\Users\Rob_keb\node_modules\bigchaindb-driver\dist\node\transaction\makeTransferTransaction.js:56:108) at Promise (C:\Users\Rob_keb\Desktop\Blockchain\chain\Foodchain\foodchain.js:210:60) at new Promise () at foodchain.transferAsset (C:\Users\Rob_keb\Desktop\Blockchain\chain\Foodchain\foodchain.js:201:16) at app.post (C:\Users\Rob_keb\Desktop\Blockchain\chain\Foodchain\index.js:56:13) at Layer.handle [as handle_request] (C:\Users\Rob_keb\node_modules\express\lib\router\layer.js:95:5) at next...

I got the following error whenever i tried to make connection with the bigchaindb server node: ![screenshot from 2019-01-14 15-10-59](https://user-images.githubusercontent.com/25535404/51105482-1953a900-180f-11e9-9d5b-6b215c36966f.png) Please solve the issue as I am not able to...

i want to custom validate the transaction signed by client, `const txCreateAliceSimpleSigned = driver.Transaction.signTransaction(txCreateAliceSimple, alice.privateKey)` i tried validating it by using `var buf = Buffer.from(JSON.stringify(txCreateAliceSimpleSigned)); ` `result = ed25519Fulfillment.validate(buf)` but...

```javascript var driver = require('bigchaindb-driver') var alice = new driver.Ed25519Keypair() var conn = new driver.Connection( 'https://test.bigchaindb.com/api/v1/', { app_id: 'my_app_id', app_key: 'wrong key' }) var tx = driver.Transaction.makeCreateTransaction( { city: 'Bangalore',...