Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 26 09:15
    libotony opened #419
  • Nov 26 02:08

    qianbin on vip-193-scratch

    block: remove total backers cou… simplify block decoding add block coding compatiability… and 1 more (compare)

  • Nov 26 02:08
    qianbin closed #417
  • Nov 25 08:35
    libotony synchronize #417
  • Nov 25 06:23
    libotony synchronize #417
  • Nov 25 04:16
    Zhijieren closed #418
  • Nov 25 04:15
    Zhijieren opened #418
  • Nov 24 23:30
    dependabot[bot] labeled #449
  • Nov 24 23:30
    dependabot[bot] opened #449
  • Nov 24 23:30

    dependabot[bot] on npm_and_yarn

    Bump highlight.js from 9.12.0 t… (compare)

  • Nov 24 09:56
    libotony opened #417
  • Nov 24 05:23

    qianbin on vip-193-scratch

    improve packer loop, interrupt … Merge pull request #416 from li… (compare)

  • Nov 24 05:23
    qianbin closed #416
  • Nov 24 02:52
    libotony synchronize #416
  • Nov 23 10:38
    libotony opened #416
  • Nov 23 02:46

    libotony on vip-193-impl

    (compare)

  • Nov 17 06:13
    hzccc closed #410
  • Nov 17 06:13
    hzccc closed #414
  • Nov 16 14:40
    mcbsd opened #448
  • Nov 16 06:13

    qianbin on vip-193-scratch

    node: clarify re-schedle condit… Merge pull request #415 from li… (compare)

killianbellesoe
@killianbellesoe
ok thanks for this information :)
libotony
@libotony
with pleasure
Rogelio Morrell
@molekilla
hi, any one knows who's looking for Vechain devs? let me know, I'm available
Qian Bin
@qianbin
@molekilla Join the tg dev group https://t.me/VeChainDevCommunity
Abir Hasan Mubin
@abirhasanmubin
Hey guys, I want to send transactions in the chain without signing. Is there any way? Can anyone help me?
Daniil
@dvneverov
libotony
@libotony
@dvneverov I did quick research regarding your first tx, balance not enough for the tx
The tx is trying to send 0xabce2eb3c43b85aeb000/811328063099000000000000 wei but the address only hold 0xabce2eb3c43b859df000/811328063098999998902272 wei
Daniil
@dvneverov
Oh, yes, looks like there was some problem with rounding on our side
Thank you!
libotony
@libotony
you are welcome
Dan DeGreef
@dadeg
regarding multiparty payments, how do factories work? Specifically, if a contract deploys another contract, the contract becomes the master. How can we set a new master? If we have the factory immediately call prototype.setMaster(newContractAddress, desiredMaster), will that work?
I am worried it will not work, because the msg.sender would be the person's account who initiated the original transaction to have the factory create the contract.
libotony
@libotony
It would work, msg.sender is the one who called the func, in your scenario, the sender will be the factory contract(txSigner->factory->new contract)
Dan DeGreef
@dadeg
ah okay, great. Thanks for correcting my misunderstanding. Is there a more preferred way to handle this sort of thing?
or is calling setMaster immediately after contract creation the best way in your experience?
libotony
@libotony
I think there are two ways. One is your way, another one adds a method in the factory setMaster(targetContract, newMaster)
either way works
depending on your scenario
Dan DeGreef
@dadeg
understood. thanks!
libotony
@libotony
you are welcome
iamjoin7
@iamjoin7

Hi. Just wanted to ask a question. Before that, I would like to apologize if this is not the correct medium for this.

I am looking at the tech and want to start on a project. I've done some reading on Thor and the apis, but before I dive too deep, I wanted to consult already knowledgeable people if this is possible:

I am thinking of making a messaging app that uses the Vechain Blockhain. So, a mobile app that connects to the Vechain Blockhain like the Vechain Wallet app.

You will write a message. The frontend, i.e. the mobile app, will encrypt this using the public key of the recipient address you are sending to. This encrypted string will be written on the blockhain as a VTHO transaction to the recipient address (in the data segment). The recipient will open their app. Download the transaction information, including the data segment. Decode it using their private key. Read the message on their mobile device (obviously in plain text format, like a normal text message).

Of course, there is a few more additional steps that I'm skipping over in terms of user signing in (perhaps their mnemonic phrase) and they would be consuming 21 VTHO minimum for each text message they send.

Also, obviously for push notifications, I would have to be either using another 3rd party app / backend server to notify the users when a transaction(message) arrives to their address.

Before I get started or raise my hopes for this idea, I wanted to check if people see any major issues when it comes to implementing this. Any help is appreciated and thank you for your help.

Rolf T.
@Treyzeque
Hi all, i got redirected to this place to find people with technical knowledge about building dapps on Vechain. As im not a developer myself i'd like to ask someone a few questions who does. Most will be in regard of transaction costs as im researching financial possibilities with the idea im having. Im willing to pay for the help/time (10k vet). I do ask some kind of proof of knowledge (could be a small repo). Anyway, please send me a PM if you think you can help. Ill drop a msg here once i found someone :)
libotony
@libotony
@Treyzeque r Welcome! You can also discuss dev staff in the telegram https://t.me/VeChainDevCommunity
Rolf T.
@Treyzeque
Thank you @libotony, i'll check it out :)
Tin Buzancic
@TinBuzan
hello all, any developers/engineers want to talk smart contracts and defi on vechainthor ? (i am in EST time)
Tin Buzancic
@TinBuzan
feel free to message me, and i will get back to you
libotony
@libotony
@TinBuzan Welcome! You can also discuss dev staff in the telegram https://t.me/VeChainDevCommunity
Rogelio Morrell
@molekilla
hi, if anyone needs a WalletConnect implementation for VeChain let me know.
Parminder Parmar
@ParminderParmar
@libotony @qianbin I am not able to transfer VTHO to another address https://explore-testnet.vechain.org/transactions/0xf0058956cec64defa7f0e37f7634573f5651737200f1a616aeae3e794b42eae4#info. Any idea why ?
shaohuaiW
@XJWX89
The value unit is wei
Make sure you are sending correct amount
libotony
@libotony
@ParminderParmar Please take a look at @XJWX89 's answer
Parminder Parmar
@ParminderParmar
@libotony @XJWX89 Thanks, sorry my fault. I converted from wei and it works
libotony
@libotony
Great!
TheSanDiegonite
@TheSanDiegonite
I'm looking in the thor GO code and don't see a function that would return an array of all Accounts with a balance > 0. Is there a way to extract that from the chain?
looking at 1.3 code
Prince
@princesinha19
Is there any public API provider for vechain like etherescan.io?
Parminder Parmar
@ParminderParmar
If someone is looking for scripts to deploy thor node ( not using docker ) in linux environment, please check this out and let me know if any comments. https://github.com/ParminderParmar/vechain-deployment-scripts
Parminder Parmar
@ParminderParmar
@libotony @XJWX89 @ Please can you help me identify the reason why following smart contract deployment is failing
Parminder Parmar
@ParminderParmar
Parminder Parmar
@ParminderParmar
Raw transaction :
0xf914212787572d06a06a39d58202d0f913c3f913c08080b913bb60806040523480156200001157600080fd5b50604051620013bb380380620013bb833981810160405260408110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b838201915060208201858111156200006f57600080fd5b82518660018202830111640100000000821117156200008d57600080fd5b8083526020830192505050908051906020019080838360005b83811015620000c3578082015181840152602081019050620000a6565b50505050905090810190601f168015620000f15780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200011557600080fd5b838201915060208201858111156200012c57600080fd5b82518660018202830111640100000000821117156200014a57600080fd5b8083526020830192505050908051906020019080838360005b838110156200018057808201518184015260208101905062000163565b50505050905090810190601f168015620001ae5780820380516001836020036101000a031916815260200191505b506040525050508160039080519060200190620001cd9291906200020b565b508060049080519060200190620001e69291906200020b565b506012600560006101000a81548160ff021916908360ff1602179055505050620002ba565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200024e57805160ff19168380011785556200027f565b828001600101855582156200027f579182015b828111156200027e57825182559160200191906001019062000261565b5b5090506200028e919062000292565b5090565b620002b791905b80821115620002b357600081600090555060010162000299565b5090565b90565b6110f180620002ca6000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80633950935111610071578063395093511461025f57806370a08231146102c557806395d89b411461031d578063a457c2d7146103a0578063a9059cbb14610406578063dd62ed3e1461046c576100a9565b806306fdde03146100ae578063095ea7b31461013157806318160ddd1461019757806323b872dd146101b5578063313ce5671461023b575b600080fd5b6100b66104e4565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156100f65780820151818401526020810190506100db565b50505050905090810190601f1680156101235780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61017d6004803603604081101561014757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610586565b604051808215151515815260200191505060405180910390f35b61019f6105a4565b6040518082815260200191505060405180910390f35b610221600480360360608110156101cb57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506105ae565b604051808215151515815260200191505060405180910390f35b610243610687565b604051808260ff1660ff16815260200191505060405180910390f35b6102ab6004803603604081101561027557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061069e565b604051808215151515815260200191505060405180910390f35b610307600480360360208110156102db57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610751565b6040518082815260200191505060405180910390f35b610325610799565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561036557808201518184015260208101905061034a565b50505050905090810190601f1680156103925780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103ec600480360360408110156103b657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061083b565b604051808215151515815260200191505060405180910390f35b6104526004803603604081101561041c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610908565b604051808215151515815260200191505060405180910390f35b6104ce6004803603604081101561048257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610926565b6040518082815260200191505060405180910390f35b606060038054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020
Kenneth Ashley
@KennethAshley
Hey guys, i'm using web3.py and am trying to get logs but i'm receiving a 404 from thor
image.png
image.png
first image is the error. the second is the code that causes the issue
libotony
@libotony
hi @KennethAshley web3.py is not compatible with vechain's RESTful API
Sharo1994
@Sharo1994
Hi pls i need help i just did something stupid very stupid and send VET to an fake address scammmm !!! is there a way to get it back or can i say Ciao ciao
cjsmith26
@cjsmith26
How to include Vechain in a mobile app in google / apple store? Best practices?