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)

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?
bsc44
@bsc44
@Sharo1994 transactions are irreverible unfortunately.
Yajash Jhamb
@YajashJhamb
Hi,
I am trying to connect to vechian wallet using connex
I want to check if the user is on testnet or mainnet
but don't know how to do it using connex. In the documentation, there is an option to check on transaction, but I want to check on login
Can anyone help me?
libotony
@libotony
you can check the network by connex.thor.genesis
@YajashJhamb
Yajash Jhamb
@YajashJhamb
@libotony Got it. Thanks
libotony
@libotony
welcome!
cjsmith26
@cjsmith26
To ease enterprise integrations in the CRM world, would the vechain team be able to build a salesforce custom control to leverage drag and drop components, integrate blockchain usability with multiparty payments, smart contract templated deployments for proper interfacing allowing upgrades, with fiat billing conversions and dollar amount thresholds worked in? Not asking for much am i? :D
This would help alot of b2b, b2c not handle wallets but still get their data on chain in tools they use currently. Could be wishful thinking out loud here but seems like that could be achieved? What are your thoughts
Peter Trapasso
@petertrapasso
Hey all!
Shubham Khanna
@shubhamkhanna161295
Hi
I need to build an app on Vechain, any references with tutorials on development, with transaction building, along with transfers and handling of node tokens will be appreciated.
libotony
@libotony
@shubhamkhanna161295 https://docs.vechain.org can be a start and join our dev community at telegram, https://t.me/VeChainDevCommunity
Shubham Khanna
@shubhamkhanna161295
can anyone help me with viewing node token balance using connex
??
Bradley Suira
@bradleySuira
Hi @libotony anybody using the ThorWalletSDK for iOs and Android ? the iOs version is objective-c but I tried to use from swift project and has a lot of issues
Maybe I have some time at the weekend to help @shubhamkhanna161295, if it's not too late PM
Abir Hasan Mubin
@abirhasanmubin
I am using thorify to develop a webapp. Now when I call contractmethods (ex. contract.methods.getDataById(dataId).call() ) It returns empty object/string.
What is the problem? Can anyone help? Thanks.
Bradley Suira
@bradleySuira
@abirhasanmubin method call is async, check if you are using await, then, whats is the type or return in the contract? also confirm if you receive an object or a string, if you can, please provide an example or gist with your Dapp code and the method in the contract
Abir Hasan Mubin
@abirhasanmubin
@bradleySuira The contract is contract.sol
The Dapp code is thor.js
And the output is string.
Abir Hasan Mubin
@abirhasanmubin
I have copied the abi from remix
And I cannot goto VIDE in sync
libotony
@libotony

Hi @libotony anybody using the ThorWalletSDK for iOs and Android ? the iOs version is objective-c but I tried to use from swift project and has a lot of issues

Hi @bradleySuira I am not familiar with the wallet SDKs, could you open an issue in the repo?

1 reply
Bradley Suira
@bradleySuira

Hi @abirhasanmubin I can not test all the code but I m thinking that the return as an empty string is maybe related to the id that you send maybe is not in the mapping timeToData

function getDataId(string memory _time) public view returns (uint256){ return timeToData[_time]; }

Bradley Suira
@bradleySuira
function getData(uint256 _dataId) public view returns(uint256[] memory){
return dataList[_dataId];
}

can you please try to access to the dataList directly just to test ? or maybe if you are using remix you can try to access to the data and validate if you can get values.

Hope thats helps

Abir Hasan Mubin
@abirhasanmubin
@bradleySuira The problem has been resolved after using public testnet node instead of using my bin/thor tesnet node
I have developed this following app with thorify. After executing the following error occurred. What is the problem can any one point it out? I am stuck here.
(node:27554) UnhandledPromiseRejectionWarning: Error: Transaction has been reverted by the EVM: { "gasUsed": 47792, "gasPayer": "0x70bec5da4733f3435a4c41c8f0e19c4e0ce688d3", "paid": "0x3e42bdcc038eb17f0", "reward": "0x12ad9f56cdde020c8", "reverted": true, "meta": { "blockID": "0x0074667921ff10156563fa3ef9d4bb0f730f960b49c9344386cb95b6092f1b39", "blockNumber": 7628409, "blockTimestamp": 1606315200, "txID": "0x76bd897f1824446b58686b6ede36e4cf6b4a30c45ee889c297ecd3d7d75fba86", "txOrigin": "0x70bec5da4733f3435a4c41c8f0e19c4e0ce688d3" }, "outputs": [], "blockNumber": 7628409, "blockHash": "0x0074667921ff10156563fa3ef9d4bb0f730f960b49c9344386cb95b6092f1b39", "transactionHash": "0x76bd897f1824446b58686b6ede36e4cf6b4a30c45ee889c297ecd3d7d75fba86", "status": "0x0" } at Object.TransactionError (/home/moblen/Desktop/babel/node_modules/web3-core-helpers/lib/errors.js:87:21) at Object.TransactionRevertedWithoutReasonError (/home/moblen/Desktop/babel/node_modules/web3-core-helpers/lib/errors.js:98:21) at /home/moblen/Desktop/babel/node_modules/web3-core-method/lib/index.js:394:57 at processTicksAndRejections (internal/process/task_queues.js:93:5) (Use `node --trace-warnings ...` to show where the warning was created) (node:27554) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:27554) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.The contract file is contract.sol
The driver file is thor.js