Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Robel kebede
    @robelkebede44
    TypeError: Cannot read property '0' of undefined
    _app_1 | at /app/node_modules/bigchaindb-driver/dist/node/transaction.js:285:49
    _app_1 | at Array.map (<anonymous>)
    _app_1 | at Function.makeTransferTransaction (/app/node_modules/bigchaindb-driver/dist/node/transaction.js:280:41)
    _app_1 | at Promise (/app/foodchain.js:205:60)
    _app_1 | at new Promise (<anonymous>)
    _app_1 | at foodchain.transferAsset (/app/foodchain.js:198:16)
    _app_1 | at app.post (/app/index.js:49:13)
    _app_1 | at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)
    _app_1 | at next (/app/node_modules/express/lib/router/route.js:137:13)
    _app_1 | at Route.dispatch (/app/node_modules/express/lib/router/route.js:112:3)
    '''
    i am having trouble transferring asset bigchaindb:all-in-one image and bigchaindb-driver:4.0.0
    lakshit singh
    @singhlakshit19_gitlab
    Hi everyone, I have been able to generate the keys of a create transactions but the data is not showing up in bigchaindb trying collection.asset.find() yields no result but the postedTransaction is successfully returning the created asset
    mdhinakaran
    @mdhinakaran

    How to get all available Assets?
    How to get all assets for particular public Key/private key?

    Using below URL to retrieve the specific assets/metadata using search criteria
    http://localhost:9984/api/v1/assets?search={search_param_string}

    frank-nankivell
    @frank-nankivell

    @robelkebede44 Hi Robel,

    I am having the same problem.

    I am using nodejs driver 4.1.0 as the 4.1.1 appears not to work properly.

    How did you resolve this when running the function? driver.Transaction.makeTransferTransaction(

    Aditya1305249
    @Aditya1305249
    when i send this transaction
    const tx = BigchainDB.Transaction.makeCreateTransaction(
    // Define the asset to store, in this example it is the current temperature
    // (in Celsius) for the city of Berlin.
    { message:'thsa is my forbmnfds '},
                // Metadata contains information about the transaction itself
                // (can be `null` if not needed)
                {metadata},
    
                // A transaction needs an output
                [ BigchainDB.Transaction.makeOutput(
                        BigchainDB.Transaction.makeEd25519Condition(alice.publicKey))
                ],
                alice.publicKey
            )
    
            // Sign the transaction with private keys
            const txSigned = BigchainDB.Transaction.signTransaction(tx, alice.privateKey)
    
            // Send the transaction off to BigchainDB
            let conn = new BigchainDB.Connection(API_PATH)
    
            conn.postTransactionCommit(txSigned)
    const API_PATH = 'http://localhost:9984/api/v1/'
    then it worked
    but when i try to access bigchaindb node which are running on another device and commit same transaction then i'm getting this error
    {message: "HTTP Error: Requested page not reachable", status: "500 INTERNAL SERVER ERROR", requestURI: "http://46.101.172.49:9984/api/v1/transactions?mode=commit"}
    message: "HTTP Error: Requested page not reachable"
    requestURI: "http://ip-address-of-device:9984/api/v1/transactions?mode=commit"
    status: "500 INTERNAL SERVER ERROR"
    proto: Object
    kalyanipullela
    @kalyanipullela
    @mdhinakaran To get all the available assets, you have to write the mongodb qry for it, there isn't any API to get all the avaliable assets
    To get all assets for particualr public key you can use 'http://localhost:9984/api/v1/outputs?public_key={public_key}' which will give the spent and unspent transactions for the user

    @abhi-nilekar
    npm install bigchaindb-driver@4.1.0
    npm install base-x@3.0.4
    npm install bip39@2.5.0

    may be it will help you

    Mahmudin Ashar
    @mahmudinashar
    hii all, i'm curently new in bigchaindb ?
    can i ask some question ?
    i have some error like this ?
    what's acutualy happen
    Connection { path: 'http://localhost:9984/api/v1/', headers: {} }
    {
    message: 'HTTP Error: Requested page not reachable',
    status: '500 INTERNAL SERVER ERROR',
    requestURI: 'http://localhost:9984/api/v1/transactions?mode=commit'
    }
    stuck for an hour but not see some satified solution
    pgulp9981
    @pgulp9981

    Hello all,
    Regarding the transferring of an asset, if we take an example of car as an asset, the ownership is being transferred and but in case if we take medicine as an asset, the manufacturer manufactures a bulk quantity of medicines but he transfer some amount of medicine to the shopkeepers. Then how we can transfer the asset?

    Any help is appreciated

    Jürgen Eckel
    @eckelj
    @pgulp9981 whenever the manufacturer creates an asset, this has to be quantified, whetever it is one bottle or 20 liters. this can then be split up and transfered to various identities. having it transfered, the receiving party can transfer it further or even burn it
    @mahu
    @mahmudinashar you code implies that you run a node locally. right?
    Diego Torres
    @diegotorreslopez_gitlab
    Hi everyone
    is this chat still alive? :D
    michelescarlato
    @michelescarlato

    Hi there,

    Does anyone knows how to configure BigchainDB/Tendermint to store more create transactions in one block ?

    Phạm Hùng Mạnh
    @manhph81
    image.png
    Hii all, I have error when run conn.postTransactionCommit(txCreateAliceSimpleSigned)
    .then(retrievedTx => console.log('Transaction', retrievedTx.id, 'successfully posted.'))
    How to fix this error?