If you need to update the wallet address connected to your Dtravel account for payouts, you will need to redirect the smart contract to a new wallet address since the contract isn’t upgradeable for security purposes.
How to update/change your wallet address for payouts
- First, you’ll need to find your property smart contract. Click on the “Listings” tab on any page within the Dtravel app.
- Click on the property you want to update your wallet address for.
Note: If you’re updating more than one property, even if you want the new wallet address to be the same for all the properties, you’ll need to individually update each one as each property has its own smart contract.
- On the listings page, scroll down to the “Smart Contracts” section. There’s a link to BSC Scanner. Click on the link and it will take you to BSC Scan in a new tab.
4. Look for the ”Contract” tab. The first time, you’ll need to also confirm the proxy. Click on the “Is this a proxy” button.
- Click on the “Verify” button. You’ll see a success confirmation underneath once it’s been verified Go back to the previous tab.
- You’ll see some new options. Click on “Write as Proxy”.
- Click on “Connect to Web3” and connect your original metamask wallet that you used to sign up with on Dtravel.
Once you’re connected, you’ll see that your host wallet is connected to the property contract.
4. Choose function “10. updateHost” and paste the new wallet address you want to use, then click the “Write” button to submit your request.
Another option to update your address is to choose function “11. updatePaymentReceiver”, and enter in the new wallet address that you’d like to get payouts sent to. Click the “Write” button to submit your request.
- Once you’ve clicked the “Write button”, you’ll be promoted to sign and confirm your transaction via metamask in the original wallet that you used to connect.
- Check to see if your transaction has been finalized by switching to the transaction tab.
7. Check the latest transaction to ensure that it shows the status as “Success”.
For another way to check to see if the wallet address has been updated, navigate to the “Contract” tab and choose “Read as Proxy”. Look under “5. host” and “8. paymentReceiver” to to see the wallet address associated here. It should be the new updated wallet address that you just entered.