Testnet
If you need to experiment with the StarGate contracts, we deployed a set of contracts for you.
Addresses
StarGate NFT
0x1ec1d168574603ec35b9d229843b7c2b44bcb770
StarGate Delegation
0x7240e3bc0d26431512d5b67dbd26d199205bffe8
VeChain Nodes (Legacy)
0x0747b39abc0de3d11c8ddfe2e7eed00aaa8d475c
NodeManagement
0x8bcbfc20ee39c94f4e60afc5d78c402f70b4f3b2
Note to Users:
When transferring or delegating NFTs, any unclaimed delegation rewards will automatically be claimed by the contract on behalf of the user. However, the StarGate Delegation contract could fail if it runs out of VTHO. For testing purposes, please send testnet VTHO to the StarGate Delegation contract to enable other users to conduct their tests effectively.
Environment Configurations
X
Mjolnir X
1560
-
0.000487252
N/A
X
Thunder X
560
-
0.000136555
N/A
X
Strength X
160
-
0.000313546
N/A
X
VeThor X
60
-
0.000766742
N/A
Eco
Mjolnir
1500
100
0.000390030
30
Eco
Thunder
500
300
0.000975076
20
Eco
Strength
100
2500
0.000122399
10
New Eco
Flash
20
25,000
0.000180745
15
New Eco
Lightning
5
100,000
0.000390030
10
New Eco
Dawn
1
500,000
0.000697615
5
Import the contracts on Inspector
Go to https://inspector.vecha.in/, switch to testnet (on top-right) and add the StarGate
, NodeManagement
and VeChainNodes
contracts by setting a name, the address and the ABI.

You can find the addresses above, and ABIs are available for download here.
Interact with contracts
Stake
You can test the StarGate
contracts without any needed permission, just call stake()
or stakeAndDelegate()
. The same goes for the NodeManagement
contract.
Migration
If you want to test the migration flow instead, you will need to first interact with the VeChain Nodes
contract to mint your self a legacy Node NFT.
To mint a Node in the VeChain Nodes
contract:
Import the testnet mnemonic:
denial kitchen pet squirrel other broom bar gas better priority spoil cross
A wallet can hold only 1 VeChain Nodes NFT at a time.
Call the
VeChain Nodes
contract
await legacyNodesContract.addToken(
holderAddress, // Put an address which does not come from the testnet mnemonic
level, // 1 for Strength .... 7 for MjolnirX
onUpgrade, // set this to false
applyUpgradeTime, // set this to 0
applyUpgradeBlockno // set this to 0
);
There is no need to actually hold VET in your wallet in order to own a legacy NFT.
On testnet there is a limit of 100000 legacy VeChain Nodes that can be migrated. A redeploy of the contracts will be required once this number is reached.
Now, you can call
migrate()
, andmigrateAndDelegate()
functions on theStarGateNFT
contract.
Run locally
You can deploy the contracts on your own or run the tests by using the public repo with the contracts at https://github.com/vechain/stargate-contracts. This resource contains all necessary files and instructions, allowing you to clone the repository, explore the smart contract code, and follow setup procedures step-by-step, allowing you to interact with the contracts on testnet or thor solo.
Seed StargateDelegation
contract with VTHO
on solo network
StargateDelegation
contract with VTHO
on solo networkIn order to test the delegation rewards, claiming StargateDelegation
contract must hold enough VTHO
tokens. If you have your inspector up and running, you can add the VTHO
token there like this:
Name: VTHO
Address: 0x0000000000000000000000000000456E65726779
Abi:
Now, call the transferFrom()
function in the "Write" tab, with StargateDelegation
contract as a recipient.
Last updated
Was this helpful?