Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    pyramus
    @pyramus
    First I tried the example, then all sorts of variants. Checked here:
    meta_property spec in API doc
    so if you are able to get this example code attached to the transfer, please let me know
    meta_property = { "name": "transaction_name", "type": "company_to_user", "details" : ""}
    Ankit Yadav
    @ankit-yadv

    Hi @pyramus,

    can you try running your code with this value of meta_property?

    `
    meta_property:

    { "name": "transaction_name",
    "type": "company_to_user",
    "details": "Some more details about transactions"
    }
    `

    pyramus
    @pyramus
    that wont work. syntax is incorrect for node var declaration
    Daniel Pham
    @nguyenpc

    @ankit-yadv

    Hi @nguyenpc,

    You can follow this execute transaction guide here: https://dev.ost.com/platform/docs/guides/execute_transaction/#generating-qrcode-with-transaction-data

    Thank you, I generated a QR code as guided, the app seems regconize the tx, however it crashed after scanning the QR code.

    is there any other channel where we can submit our issue (i.e. Github)?

    pyramus
    @pyramus
    i have to use =
    for the rest I don't see any real difference in the value of your code @ankit-yadv
    but just to confirm: the exact same error happen when I put a non-empty string inside "details". obviously ;-)
    pyramus
    @pyramus
    @ankit-yadv
    let meta_property = { "name": "Signup Bonus", "type": "company_to_user", "details": "Credit to get started." }; executeParams = { user_id: companyUserId, to: contractRuleAddress, raw_calldata: raw_calldata, // meta_property: meta_property };
    executes correctly / but crashes when i uncomment meta_property
    this is exactly like the API specs, but please try to run your own examples from Node.js and you'll see it will fail
    Ankit Yadav
    @ankit-yadv
    @pyramus,
    I am trying these codes, I will update you once we fix these issues.
    pyramus
    @pyramus
    yeah sure. I would recommend to walk through some more of the Node examples, because there seems to be a lot of syntax errors as well (as me and @schlinkmumpitz mentioned). I really love the amount of examples you provided but it's a missed opportunity when they don't run ;-)
    Ankit Yadav
    @ankit-yadv

    Hi @nguyenpc,

    You can create a ticket here https://help.ost.com/support/home

    Daniel Pham
    @nguyenpc

    Hi @nguyenpc,

    You can create a ticket here https://help.ost.com/support/home

    I've submitted a ticket, thanks.

    Shinto2000
    @Shinto2000_twitter
    @pyramus Yes, my tx's were company-to-user, i had to make sure you get the correct rules address in first (to
    Required Rule address. You can get the rule address by using list all rules API.)

    i got the same error until i got the Rules address from 'Direct Transfer', and placed into the (to)

    let executeParams = {
    user_id: "9931e53a-83e6-4f9c-92c2-1e4319eab349",
    to: "0xe2c560d01f28d2962c934c747234f1453170fae8",
    raw_calldata: raw_calldata,
    //meta_property: meta_property
    };

    Ankit Yadav
    @ankit-yadv

    Thanks @Shinto2000_twitter for mentioning rules address, the to address is the address of rule that you want to execute.

    @pyramus you can also follow this execute transaction guide, it shows a step by step process to execute transactions.

    @pyramus let us know if the above solves your error.
    pyramus
    @pyramus
    Well I doubt anybody here actually read my intial issue. It's about adding meta_property details, which nobody is capable of doing.
    @ankit-yadv @Shinto2000_twitter please show me an actual example where you've been able to attach meta_property details with a transfer in node
    @ankit-yadv no. this is not node.

    @Shinto2000_twitter yeah already know that. As said before,

    let meta_property = { "name": "Signup Bonus", "type": "company_to_user", "details": "Credit to get started." }; executeParams = { user_id: companyUserId, to: contractRuleAddress, raw_calldata: raw_calldata, // meta_property: meta_property };
    executes correctly / but crashes when I uncomment meta_property line
    this is exactly like the API specs, but please try to run your own examples from Node.js and you'll see it will fail

    Ankit Yadav
    @ankit-yadv

    Hi @pyramus,

    I have updated the sample code for node.js. They are working with meta_property included.
    https://dev.ost.com/platform/docs/api/?javascript#execute-a-transaction

    The only constraint with meta_property is, it should have value for all three attributes. None of the attributes can be empty. meta_property as a parameter is optional.
    Shinto2000
    @Shinto2000_twitter
    Hello team, wanted to see if there was a way to 'automating' the process of (inputing in the user email address in the admin wallet page). Is there a way you guys could share what the front/backend call looks like? (use case - we have a test economy, but i have to manually enter in each user's email address, would prefer we have a webpage where individual users can input in and receive a download wallet app email)
    pyramus
    @pyramus
    Thanks for the fix @ankit-yadv, the code now works.
    Perhaps you should also update the API documentation and mention that meta_property is actually NOT required, but in case it is used the child attributes ARE indeed all required and cannot be empty?
    alt
    pyramus
    @pyramus
    @ankit-yadv I also found something else: using the full stop "." character inside the string child attribute details is not allowed and will break the request. Might be handy to mention, because currently only a max length is specified as limitation to this specific child attribute in the API documentation.
    alt
    pyramus
    @pyramus
    Last but not least: please notice that ^ is not the exponentation operator, but the XOR operator in Javascript. So this (uncommented) part in the Node.js example won't work as expected. You should use Math.pow (or ** more recently) instead.
    alt
    Ankit Yadav
    @ankit-yadv
    Thanks for your inputs @pyramus. We will be reflecting changes soon.
    ldumaine
    @ldumaine
    Hello! Is this the right place for feedback about the wallet application?
    When you initialize the wallet you have to chose a pin code..
    (I'm referring to the android app BTW)
    ldumaine
    @ldumaine
    And you have to validate your input by using "enter" on the keyboard.. This isn't that obvious at least for me.. It would be nice to have an indication and/or a GUI element like a button..
    Nother thing the wallet doesn't prevent the user from sending a "zero" amount.
    Ankit Yadav
    @ankit-yadv
    Hi @ldumaine, yes this is the right place to give us feedback about the wallet application and OST Platform. I appreciate your inputs, we will be improving upon these inputs in our next release.
    That would be a minor release though to improve the experience at earliest.
    Mario Jefferson
    @Orami
    i have an acct i need verified for the demo acct
    Ankit Yadav
    @ankit-yadv
    @Orami, can you explain more?
    Shinto2000
    @Shinto2000_twitter
    On testnet, when we put in a meta_property "details", i'm looking at the tx on the block explorer but dont see the text from details. Is it supported or am i reading it incorrectly?
    Kevin FS
    @kevinfs510_twitter
    @Shinto2000_twitter Re 'automating' the process of inputting email addresses: Multiple email addresses can be entered at once, separated by a comma
    @Shinto2000_twitter Can you share link to tx please?

    Here's my properties

    meta_property = {
    "name": "download" , //like, download
    "type": "company_to_user", // user_to_user, company_to_user, user_to_company
    "details" : "you are awesome" // memo field to add additional info about the transaction
    }

    Kevin FS
    @kevinfs510_twitter
    Thx checking...
    @Shinto2000_twitter meta_property doesn’t go on the blockchain, it stays in OST database. So would need to be queried.
    Shinto2000
    @Shinto2000_twitter
    @kevinfs510_twitter ok thank you! would devs get access to that data in the future?
    Kevin FS
    @kevinfs510_twitter
    It can be queried now via the Transactions API
    Is that what you mean?
    Shinto2000
    @Shinto2000_twitter
    @kevinfs510_twitter yes, thatll work. thank you
    Kristian
    @SaintNSinner81_twitter
    Has anyone had success integrating OST Platform into Wordpress to use as an eCommerce payment gateway?
    Kevin FS
    @kevinfs510_twitter
    Hi @SaintNSinner81_twitter Good question, thanks. Not that I am aware of, however, we have had a number of queries along these lines. We are currently considering what integration(s) make sense.