Comment on page
Frontend User Guide
A frontend user guide for the VORJ beta release
The purpose of this guide is to provide a first time VORJ user with the steps required to create and deploy an ERC-721 smart contract through the VORJ frontend.
- This API is not meant for production use, currently beta.
- You, the user, accept all responsibility for the use of the VORJ API.
- The Vechain Foundation San Marino nor any other entity associated with Vechain nor VORJ accept any responsibility associated with the use of VORJ.
- All smart contracts created and deployed through VORJ are done so through the VORJ deployment wallet and thus these smart contracts are owned and controlled by VORJ, unless they are transferred by the user to another wallet.
- The digital assets, either fungible or non-fungible, that are created as part of the smart contracts are minted into your own self-custody wallet, through the provided API endpoints, and thus the digital assets are owned and controlled by the private key holder of that wallet.
To get started on VORJ, you will first need to create and verify an account. Follow the four steps to create and verify your VORJ account.
From the landing page if you already have an account you can login. If you are a new user and are creating an account press the
VORJ landing page, use the Register link to create an account.
After having selected the register account you will be prompted to provide an email address and a name. After populating this information press
- Must be more than 5 characters in length.
- Alphanumeric characters only.
- No special characters allowed.
VORJ account creation page.
The next step in creating your VORJ account is to set a password and agree to the Terms of Service. Once you have read and are satisfied with the Terms of Service proceed to check the associated checkbox. Signing up to the newsletter is optional and you can always change your preferences at a later stage. The
Nextbutton will become active once a valid password is set and the Terms of Service checkbox is checked.
- Must be more than 8 characters in length.
- 1 Uppercase and 1 lowercase character.
- 1 Numeric character.
- 1 Special character.
VORJ account password creation page.
You will receive a verification code through the email address that you signed up with. Please provide this verification code to complete your VORJ account creation.
VORJ account verification page.
After a successful registration you will be presented with a success message as shown in the image below.
Successful account creation and prompt for next steps.
The next step is to create an organization. An organization is a space where you can collaborate with team members to create projects which group your smart contracts.
From the success page, as show above, select the
Create Organizationbutton which will start the organization creation process.
Provide an organization name and image.
As there is only one place select the
Nextbutton to select the Free plan.
VORJ is currently a beta release, as such there is only a free plan on offer
Select a plan for your organization.
You can invite team members to join your organization to collaborate with you as you create smart contracts. To procced press
Nextto move onto the final step in the organization creation process.
Add members to you organization team.
A project is a workspace within an organization where you and your team can collaborate on creating smart contracts. Provide a project name, select the network that you want to deploy your smart contract on and set an image for your project.
Smart contracts inherit the network setting of a project and smart contracts cannot be moved between projects.
Creating your first project.
After successfully creating an organization and project you will be directed to the dashboard page, which is shown in the image below.
Dashboard for our new organization
The next step is to create a smart contract. After we have successfully created a project, we should be on a page similar to the image show above. From here we can select the project card by clicking on it. By clicking on the project card we are entering the project space, we should now be on a page similar to the image shown below.
The project detail page is where we create and can access our smart contracts.
The first step is to allocate resources to our project so that we can create, deploy and interact with our smart contracts. To allocate resources select the
We will be presented with a modal where we can assign a set amount of
Smart Contract Deploymentsfor the project to use. In this example we have set the following values:
- API Calls: 100
- API Calls/Min: 10
- Smart Contract Deployments: 2
Once you have set the resources for your project press the
Confirmbutton to proceed to the next step.
A minimum of 2
API Callsand 1
Smart Contract Deploymentresources are required to be allowed to create a smart contract.
Resource allocation for a project
The image below is an example of a project with no smart contracts but with resources allocated. The next step is to begin the smart contract creation process.
An example of a project with resources allocated.
Having allocated resources and having met the minimum resource allocation requirements we should now be able to use the
Create Smart Contractbutton. We will be presented with the options of smart contracts standards that we choose from.
We will be selecting the ERC721 token standard to create a Non-Fungible Token (NFT).
A list of smart contract standards to select from.
Smart contracts are immutable, this means that once they are deployed they cannot be changed or altered in anyway. It is advised that you proceed with caution.
Always, check the contents of the form and double check it before deploying.
Having selected the NFT standard we are presented with the template to populate, as shown in the image below. This template has a number of required and optional fields.
At a minimum the fields under the heading
Token Appearancemust be populated. The fields contained in the
Featuressection are optional. It is strongly advised that you read the supporting information icons to understand the purpose of the fields before activating them.
VORJ beta release and restricts the user to creating an NFT collection with a maximum of 20 images. Future releases will lift this limitation through the availability of plans with different levels of resources.
The current release provides one route for creating NFTs which is through a dynamic table to add metadata to uploaded images. Additional flows will be supported in future releases.
Supported media formats: mp3, mpeg, wov, ogg, mp4, webm, jpg, jpeg, git, svg, glb and gltf.
Either drag and drop or press upload icon within the
Upload Mediasection. Select the group of media files that you want to upload, these can be images, video, sound or animation files. You must upload all of the files in one group at the same time. A limited number of file types are supported and there is a maximum file size per media item. Currently, there is a limit of 20 media items per NFT contract.
The NFT smart contract template.
Having uploaded the media files you will be presented with additional fields to populate within the
Metadatasection. You can provide a description for your NFT collection and up to five attributes per media items via the dynamic table. To add an attribute field use the
NFT dynamic table for attribute setting.
Once you have populated the NFT metadata you can use the
Previewsection to check and confirm the metadata of each item in your collection.
Deploying a smart contract takes a minimum of two minutes but could be longer depending on network congestion and other pending transactions within VORJ.
As shown in the image above the final action is to either save the contract via the
Savebutton and deploy it at a later stage or to deploy the contract via the
You can monitor all of the pending and historical transactions for your organization via the
Usagepage and the
Usagepage is accessible as the second icon on the side navigation bar.
The first image below shows the screen that will immediately appear once you select
herelinks to the above mentioned
The second image shows the state of the contract that is pending deployment. The contract is in a read only state as the contract deployment transaction is propagated through the blockchain network. Once the contract deployment is successful you should be able to interact with the smart contract, more on this in the next section.
Transaction submitted notification.
Contract pending deployment.
Once your smart contract has been successfully deployed you can perform various activities on your smart contract via the
The actions available may differ depending on the features that you decided to activate on your smart contract.
To mint an NFT simply populate the
Addressfield with the receiver Vechain address along with a valid
If you cannot remember the tokenIDs that you used in your collection go back to the
Contracttab and scroll to the
Previewsection and use the
editionvalue as an input into
This particular smart contract is configured to use selective minting instead of sequential minting. Selective minting allows the user to select the tokenID to send per transaction whereas sequential minting mints the tokenIDs in sequential order.
Congratulations you have now created, deployed and minted an NFT on the VechainThor blockchain.