Search…
⌃K

How Zenland works

Zenland is the first smart contract platform for safe and simple online deals. This guide will walk you through all the steps to get your first smart contract done.
Below are your example case details:
Contract terms
Details
Contract participants
X, the current owner (the seller), Y, the future owner (the buyer)
Object of sale
"zen.land" domain name
Due date
April 29, 2022
Selected network
Rinkeby Test Network
Agreed amount
575 USDT (Compound)
Buyer protection time
12 hours
Zenland fee
Y agrees to pay a fee of $9.9
With the details of the case in mind, let's follow the steps.

STEP 1: User Y logs in (via Metamask browser extension).

On their first logins, users receive a default "Anonymous" username. The profile address displayed is a crypto wallet address they use to sign in. No personal information like an email address or a username is asked. The default information can be customized later on from the Profile Settings.

STEP 2: User Y creates a Zenland contract.

The New Contract Form requires both users' crypto wallet addresses so the X has sent the wallet address to the Y. They have also decided how and when the domain name is transferred to Y's registrar account. The parties agreed on the buyer protection time, and the tokens sent via the selected network.

STEP 3: User Y deposits $9.9 to the internal wallet to pay a Zenland fee.

Note that in cases when the fee is split 50/50, both parties must have a balance not lower than the sum to be paid by each party. In our case, only Y deposits the sum to pay the Zenland fee (as agreed).

STEP 4: User X logs in, reads the contract terms, and approves it.

The login is the same as seen in STEP 1. The new contract can be found under the Contracts on the dashboard. Approve action signs the deal between the current and the future owners of the domain name.

STEP 5: User Y deploys (publishes) the contract to the selected blockchain network.

At this point, the contract is given its contract address which is the exact location of the contract data in the blockchain database.

STEP 6: User Y transfers (pays) the agreed amount of tokens into the contract.

The agreed amount of $575 USDT(Compound) is now guarded by the contract until the contract conditions are met. The contract is now active and the due date countdown has started.

STEP 7: User X transfers the domain name to user Y and confirms the process completion.

Notified, user X sees that user Y has sent funds to the contract and starts the domain transfer process. Once complete, X writes an order completion message to Y and waits for the funds to be released.

STEP 8: User Y checks the delivery and releases the funds from the contract.

The contract executes and the funds are sent to user X's crypto wallet address specified in the contract terms.

STEP 9: User X checks if the funds were released by user Y.

User X checks the specified crypto wallet address and notices funds added to it. X leaves a 5-star review and both X and Y are satisfied with how their contract agreement has ended.
That's it!
You've just closed your first Zenland contract. If you are curious and want to see what kind of contract data is stored on the blockchain, you can use an official blockchain explorer Etherscan to find the contract above.
Zenland test contract address: 0xEe178398562A277D6D47849fD4d89f4453A1C938
Here is a snapshot of the agreed amount of 575 USDT sent [IN] and released [OUT] from the contract described in our case together with the two wallet addresses of the sender and the receiver. You can also see that all the transactions are timestamped to see when they occur.
Important!
Please note that test networks are for test only and their tokens have no real-world value as mainnet ETH or other altcoins. They exist so that anyone can try smart contracts to see how they work. Other than selecting the test network, the actual smart contract process follows the same steps as described above.