Use your favorite IDE

The ability to use any Java development environment to create smart contracts.

The ability to use any Java development environment to create smart contracts

On the Credits platform, the Desktop Wallet development environment is used to develop smart contracts. A smart contract is developed using the JAVA language. This makes it possible to develop and conduct testing on absolutely any platform without having to install a special development environment. The program code allows to use all common script language constructs. The JAVA language is complete in Turing, i.e. with its help you can implement any computable function.

To execute smart contracts, the JVM (Java Virtual Machine) virtual machine is used, which is supplied under a freely distributed license along with the platform software. Using JVM allows you to use not only Desktop Wallet to develop smart contracts, but also any other integrated development environment that supports JVM.

The Integrated Development Environment (IDE) is a special set of developer tools that can include an editor with many convenient functions, a project management tool, a compiler, a debugger, a mobile device emulator, a help system, and much more.

Because the JAVA language is chosen in the development language, then the most popular development environments for this language are such as IntelliJ IDEA, NetBeans, Eclipse Java.

IntelliJ IDEA

IntelliJ IDEA

IntelliJ IDEA by JetBrains (is proprietary, but there is also a Community edition).

JetBrains is the recognized leader in creating integrated development tools for different programming languages. One such IDE for JAVA is IntelliJ IDEA. The best commercial development environment, earned the recognition of developers. Almost all known libraries and framework are supported.

An example of developing a smart contract in the IntelliJ environment is shown in the picture 

NetBeans

NetBeans

NetBeans is a powerful open source development environment focused on the Internet, mobile and desktop applications. Works with Linux, Windows, MacOS and even Oracle Solaris.

Despite the fact that NetBeans allows you to work in several languages, in the development environment it is considered Java-oriented. It perfectly interacts with JPA, JSP, Struts, Spring and the Hibernate library.

An example of developing a smart contract in a NetBeans environment is shown in the picture

Eclipse Java

Eclipse Java

Another very popular environment for developing applications for Java is Eclipse. IDE Eclipse was originally created and developed by IBM, but was later developed into a separate project by the Eclipse Foundation. Eclipse is a free environment, allowing you to create a variety of applications on Java.

An example of developing a smart contract in the Eclipse Java environment is shown in the picture

Transferring a Smart Contract to Desktop Wallet

Transferring a Smart Contract to Desktop Wallet

The operation of moving a smart contract to Desktop Wallet is simply copying the text from the selected integrated development environment. After the transfer of the smart contract to Desktop Wallet, it can be checked for errors and deployment.

7 Useful article

Contents