# Add VIP: Support Contracts for VeChainThor Node-Ownership

**URL:** <https://vechain.discourse.group/t/add-vip-support-contracts-for-vechainthor-node-ownership/50>\
**Category:** VIPs\
**Created:** [September 4, 2023, 5:22pm UTC](https://vechain.discourse.group/t/add-vip-support-contracts-for-vechainthor-node-ownership/50 "2023-09-04T17:22:01Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![favo](https://dub1.discourse-cdn.com/flex017/user_avatar/vechain.discourse.group/favo/32/672_2.png) [@favo](https://vechain.discourse.group/u/favo)\
**Post date:** [September 4, 2023, 5:22pm UTC](https://vechain.discourse.group/t/add-vip-support-contracts-for-vechainthor-node-ownership/50/1 "2023-09-04T17:22:01Z")

</div>

Contracts are widely used in Multi-Sig-Wallets or for DAOs. VeChainThor Nodes can not be transferred to contracts due a restriction in the node-contract.  
Lifting the transfer restriction to allow ownership for contracts will allow a widely shared use of VeChainThor Node, especially will it allow to form DAOs arround a single VeChainThor Node.

Changing this behaviour should not have side effects as far as I understand.

PR: [Add Contract-Ownership for VeChainThor Nodes by ifavo · Pull Request #52 · vechain/VIPs · GitHub](https://github.com/vechain/VIPs/pull/52)

---

<div class="post-metadata">

**Author:** ![brettski](https://avatars.discourse-cdn.com/v4/letter/b/dfb087/32.png) [@brettski](https://vechain.discourse.group/u/brettski)\
**Post date:** [September 5, 2023, 9:57am UTC](https://vechain.discourse.group/t/add-vip-support-contracts-for-vechainthor-node-ownership/50/2 "2023-09-05T09:57:13Z")

</div>

I think this is an interesting idea. As you have stated it would expand the options for ownership of economic / x-nodes. As you said one example could be ownership of a economic / x-node by a DAO giving DAO members voting rights in vechain governance and access to a larger generation rate of VTHO which could be used to fund additional DAO activities.

The risk here is that economic / x-nodes get placed into contracts that become “corrupted” leading to the loss of the economic / x-node status and also the funds. I wonder if there is any way to avoid this? To be honest I don’t think so and this is just a risk, some mitigation actions could be taken such as auditing the contract before transferring ownership to that contract. This responsibility as with interacting with all contracts would be on the user.

---

<div class="post-metadata">

**Author:** ![favo](https://dub1.discourse-cdn.com/flex017/user_avatar/vechain.discourse.group/favo/32/672_2.png) [@favo](https://vechain.discourse.group/u/favo)\
**Post date:** [September 5, 2023, 10:11am UTC](https://vechain.discourse.group/t/add-vip-support-contracts-for-vechainthor-node-ownership/50/3 "2023-09-05T10:11:05Z")

</div>

Wallets can also get lost and as you state, the risk management is the responsibility of the owner and not the network. I believe the potential benefits are absolutely worth it and can add a new layer build by the community on top of the nodes.

---

<div class="post-metadata">

**Author:** ![brettski](https://avatars.discourse-cdn.com/v4/letter/b/dfb087/32.png) [@brettski](https://vechain.discourse.group/u/brettski)\
**Post date:** [September 5, 2023, 10:19am UTC](https://vechain.discourse.group/t/add-vip-support-contracts-for-vechainthor-node-ownership/50/4 "2023-09-05T10:19:17Z")

</div>

I would certainly be interested in seeing more use cases built around economic / x-nodes and providing more utility to the network.

Could you please link to the code where the change would be needed?

---

<div class="post-metadata">

**Author:** ![favo](https://dub1.discourse-cdn.com/flex017/user_avatar/vechain.discourse.group/favo/32/672_2.png) [@favo](https://vechain.discourse.group/u/favo)\
**Post date:** [September 5, 2023, 10:31am UTC](https://vechain.discourse.group/t/add-vip-support-contracts-for-vechainthor-node-ownership/50/5 "2023-09-05T10:31:40Z")

</div>

I can’t post a link, it says `An error occurred: Sorry you cannot post a link to that host.`

so here as workaround:

 ![Bildschirmfoto 2023-09-05 um 12.31.15](https://europe1.discourse-cdn.com/flex017/uploads/vechain/original/1X/bac10c80193ef313fd07d064ef77076d61685a24.jpeg)

```auto
https://github.com/vechain/ThorNode-contracts/blob/b3e1765ed7b1599b301602a0e0f72587cf24be1b/contracts/XOwnership.sol#L183

```

---

<div class="post-metadata">

**Author:** ![sherry.li](https://dub1.discourse-cdn.com/flex017/user_avatar/vechain.discourse.group/sherry.li/32/13_2.png) [@sherry.li](https://vechain.discourse.group/u/sherry.li)\
**Post date:** [September 6, 2023, 11:58am UTC](https://vechain.discourse.group/t/add-vip-support-contracts-for-vechainthor-node-ownership/50/6 "2023-09-06T11:58:21Z")

</div>

Hi Mario, I changed the configuration. Could you help me try again if you could post a link?

---

<div class="post-metadata">

**Author:** ![favo](https://dub1.discourse-cdn.com/flex017/user_avatar/vechain.discourse.group/favo/32/672_2.png) [@favo](https://vechain.discourse.group/u/favo)\
**Post date:** [September 6, 2023, 1:07pm UTC](https://vechain.discourse.group/t/add-vip-support-contracts-for-vechainthor-node-ownership/50/7 "2023-09-06T13:07:58Z")

</div>

trying:

> <https://github.com/vechain/ThorNode-contracts/blob/b3e1765ed7b1599b301602a0e0f72587cf24be1b/contracts/XOwnership.sol#L183>

@sherry.li works! thanks!

---

<div class="post-metadata">

**Author:** ![BenMVeChain](https://dub1.discourse-cdn.com/flex017/user_avatar/vechain.discourse.group/benmvechain/32/29_2.png) [@BenMVeChain](https://vechain.discourse.group/u/BenMVeChain)\
**Post date:** [September 8, 2023, 1:29pm UTC](https://vechain.discourse.group/t/add-vip-support-contracts-for-vechainthor-node-ownership/50/8 "2023-09-08T13:29:06Z")

</div>

I also like this idea and it could play a role in involving more people in governance elections.

Would the current tools support smart contracts claiming node rewards or would that need to be looked at if this was to be progressed?

---

<div class="post-metadata">

**Author:** ![favo](https://dub1.discourse-cdn.com/flex017/user_avatar/vechain.discourse.group/favo/32/672_2.png) [@favo](https://vechain.discourse.group/u/favo)\
**Post date:** [September 23, 2023, 8:12am UTC](https://vechain.discourse.group/t/add-vip-support-contracts-for-vechainthor-node-ownership/50/9 "2023-09-23T08:12:29Z")

</div>

I am unable to answer that, it’s vechain internal (the claiming tools are not open source?) - how can we get that information and proceed with this topic?

---

<div class="post-metadata">

**Author:** ![tom](https://dub1.discourse-cdn.com/flex017/user_avatar/vechain.discourse.group/tom/32/35_2.png) [@tom](https://vechain.discourse.group/u/tom)\
**Post date:** [October 31, 2023, 3:11am UTC](https://vechain.discourse.group/t/add-vip-support-contracts-for-vechainthor-node-ownership/50/10 "2023-10-31T03:11:21Z")

</div>

i like this VIP. could maybe use CREATE2 currently to transfer a node token/vet first then deploy a contract?

the other issue i believe would be claiming the bonus vtho for x nodes. seems like it can only be executed on the vechain foundation end:

> <https://github.com/vechain/ThorNode-contracts/blob/master/contracts/ThunderFactory.sol#L294-L303>

---

<div class="post-metadata">

**Author:** ![tom](https://dub1.discourse-cdn.com/flex017/user_avatar/vechain.discourse.group/tom/32/35_2.png) [@tom](https://vechain.discourse.group/u/tom)\
**Post date:** [November 1, 2023, 6:16pm UTC](https://vechain.discourse.group/t/add-vip-support-contracts-for-vechainthor-node-ownership/50/11 "2023-11-01T18:16:54Z")

</div>

ahh, somehow missed ben & favo talking about the last point of claiming rewards. oops

---

<div class="post-metadata">

**Author:** ![favo](https://dub1.discourse-cdn.com/flex017/user_avatar/vechain.discourse.group/favo/32/672_2.png) [@favo](https://vechain.discourse.group/u/favo)\
**Post date:** [December 7, 2023, 8:28am UTC](https://vechain.discourse.group/t/add-vip-support-contracts-for-vechainthor-node-ownership/50/12 "2023-12-07T08:28:55Z")

</div>

How can we continue with this suggestion? Who can push this ahead?

---

<div class="post-metadata">

**Author:** ![brettski](https://avatars.discourse-cdn.com/v4/letter/b/dfb087/32.png) [@brettski](https://vechain.discourse.group/u/brettski)\
**Post date:** [December 11, 2023, 3:42pm UTC](https://vechain.discourse.group/t/add-vip-support-contracts-for-vechainthor-node-ownership/50/13 "2023-12-11T15:42:37Z")

</div>

Technically this is doable however an investigation will be required to see what the impacts will be. As you have pointed out it would be the removal of a single line of code.

Going to have a discussion with the technical team on this.

---

<div class="post-metadata">

**Author:** ![favo](https://dub1.discourse-cdn.com/flex017/user_avatar/vechain.discourse.group/favo/32/672_2.png) [@favo](https://vechain.discourse.group/u/favo)\
**Post date:** [December 14, 2023, 8:50am UTC](https://vechain.discourse.group/t/add-vip-support-contracts-for-vechainthor-node-ownership/50/14 "2023-12-14T08:50:59Z")

</div>

Here’s an additional thought I had recently:

- reward claiming is currently off-chain with an API
- there needs to be a way to claim rewards on-chain
  - one option can be a contract that does the distribution
  - another one, a contract emitting an event and an off-chain handler as before

---

<div class="post-metadata">

**Author:** ![VetMaik](https://dub1.discourse-cdn.com/flex017/user_avatar/vechain.discourse.group/vetmaik/32/14_2.png) [@VetMaik](https://vechain.discourse.group/u/VetMaik)\
**Post date:** [January 5, 2024, 10:25am UTC](https://vechain.discourse.group/t/add-vip-support-contracts-for-vechainthor-node-ownership/50/15 "2024-01-05T10:25:49Z")

</div>

There must be some way to claim the rewards? [manager.vechainstats.com](http://manager.vechainstats.com) supports reward claiming as well?

I very much like this idea and I have been thinking about community held X-Nodes, or even a community held AN for a while now.

---

<div class="post-metadata">

**Author:** ![darrenvechain](https://dub1.discourse-cdn.com/flex017/user_avatar/vechain.discourse.group/darrenvechain/32/41_2.png) [@darrenvechain](https://vechain.discourse.group/u/darrenvechain)\
**Post date:** [April 16, 2024, 12:35pm UTC](https://vechain.discourse.group/t/add-vip-support-contracts-for-vechainthor-node-ownership/50/16 "2024-04-16T12:35:54Z")

</div>

We’re currently looking into other options than the one specified in the VIP since modifying solidity is impossible.
