Project Files
Before diving into coding your smart contract, the first crucial step is configuring the Settings.json file. This JSON-formatted file serves as a foundation where you input key details about your smart contract. Proper setup here will streamline your development and help avoid issues later. The structure of the file is straightforward, acting as a blueprint for your contract’s essential information, making the coding process smoother and faster. Here’s how the file is organized:
The following keys in Settings.json hold essential information for your smart contract:
Version
Identifies the contract version for deployment.
Project_Name
Sets the name of your smart contract project.
Symbol
Defines the ticker symbol for your digital asset.
Language
Specifies the programming language (JavaScript or Python).
Blockchain
Defaults to “Sandbox” for testing purposes.
Owner_Address
Contains the wallet address of the contract owner.
Developer_Name
Optional field for the developer’s name.
Developer_Address
The developer’s wallet address used for testing.
Dev_Private_Key
Private key for local development, kept secure.
These are the key fields required for setting up your smart contract, though additional fields can be added as needed.
Last updated