Bitcoin Forum
May 09, 2024, 05:16:26 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Development Environment to get started  (Read 334 times)
rpstatic (OP)
Jr. Member
*
Offline Offline

Activity: 53
Merit: 7


View Profile
July 25, 2018, 09:00:13 AM
 #1

I am pretty new to blockchain development and would like to know how I can get started. My idea would be an linux enviroment (proably ubuntu) with visual studio code.

I will use it mainly for qt wallets and will also checkout solidity. Is vs code suited for this or should I use another iDE?
1715231786
Hero Member
*
Offline Offline

Posts: 1715231786

View Profile Personal Message (Offline)

Ignore
1715231786
Reply with quote  #2

1715231786
Report to moderator
"Governments are good at cutting off the heads of a centrally controlled networks like Napster, but pure P2P networks like Gnutella and Tor seem to be holding their own." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715231786
Hero Member
*
Offline Offline

Posts: 1715231786

View Profile Personal Message (Offline)

Ignore
1715231786
Reply with quote  #2

1715231786
Report to moderator
1715231786
Hero Member
*
Offline Offline

Posts: 1715231786

View Profile Personal Message (Offline)

Ignore
1715231786
Reply with quote  #2

1715231786
Report to moderator
1715231786
Hero Member
*
Offline Offline

Posts: 1715231786

View Profile Personal Message (Offline)

Ignore
1715231786
Reply with quote  #2

1715231786
Report to moderator
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
July 25, 2018, 11:41:20 AM
 #2

Bitcoin core is written in C, so any IDE / text editor + compiler would be enough.

For solidity, you can take a look here (https://solidity.readthedocs.io/en/develop/).
Multiple plugins for several IDE's are available, according to the docs, remix(https://remix.ethereum.org/), a browser based IDE, is suggested for developing smart contracts.
However, you can find an solidity extension for visual studio here: https://marketplace.visualstudio.com/items?itemName=ConsenSys.Solidity.

rpstatic (OP)
Jr. Member
*
Offline Offline

Activity: 53
Merit: 7


View Profile
July 26, 2018, 09:16:57 AM
 #3

Bitcoin core is written in C, so any IDE / text editor + compiler would be enough.

For solidity, you can take a look here (https://solidity.readthedocs.io/en/develop/).
Multiple plugins for several IDE's are available, according to the docs, remix(https://remix.ethereum.org/), a browser based IDE, is suggested for developing smart contracts.
However, you can find an solidity extension for visual studio here: https://marketplace.visualstudio.com/items?itemName=ConsenSys.Solidity.

Thank you for your feedback. I will checkout the extension, I really like visual studio code.
Skybuck
Full Member
***
Offline Offline

Activity: 384
Merit: 110


View Profile
November 14, 2018, 07:22:26 AM
 #4

Bitcoin core is written in C, so any IDE / text editor + compiler would be enough.

For solidity, you can take a look here (https://solidity.readthedocs.io/en/develop/).
Multiple plugins for several IDE's are available, according to the docs, remix(https://remix.ethereum.org/), a browser based IDE, is suggested for developing smart contracts.
However, you can find an solidity extension for visual studio here: https://marketplace.visualstudio.com/items?itemName=ConsenSys.Solidity.

This is a big fat lie or misbelieve.

Bitcoin is carefully modified to only work in:

C++
Boost
Latest GNU C++ compiler.

Any other development environment will fail miserable with all kinds of compiler errors. (For the clueless: The reason for these compiler errors is bitcoin uses latest c++ features as well as latest boost which again uses latest c++ features and even specific gnu c++ compiler features, other compilers simply don't support these c++ features and are lagging behind or have other differences).

These delibrate code modifications have resulted in a tight coupling of bitcoin to "open source/linux/gnu" stuff.

This is an insult to Satoshi who used Windows/Visual Studio in first versions and could be a reason why he left the project.

Ask yourself the following question if you are a Visual Studio developer or any other IDE developer ?!

Would you quite the project you are working on if IDE changed to something you have no experience with and ditch years of IDE experience ?

Getting to learn an IDE the ins and outs takes a lot of time.
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3388
Merit: 6631


Just writing some code


View Profile WWW
November 16, 2018, 04:02:26 AM
Merited by Foxpup (5), ABCbits (1)
 #5

This is a big fat lie or misbelieve.

Bitcoin is carefully modified to only work in:

C++
Boost
Latest GNU C++ compiler.
This is completely untrue.

Bitcoin Core does not use the latest C++ nor the latest boost versions nor even the latest gcc. Bitcoin Core currently uses C++11, but the latest is C++17. The current boost version used is 1.64 which was released more than a year ago. But using newer versions of boost should still work.

It can also be used with different compilers such as clang and Visual C++. There are even instructions, project files, and a CI system for using MSVC and Visual Studio! Furthermore, building with clang is supported too.

YarkoL
Legendary
*
Offline Offline

Activity: 996
Merit: 1013


View Profile
November 17, 2018, 06:28:24 PM
 #6


For Qt wallets I think QT Creator would be nice choice for an IDE.

“God does not play dice"
boogersguy
Newbie
*
Offline Offline

Activity: 21
Merit: 2


View Profile
November 18, 2018, 02:02:29 PM
 #7

This is an insult to Satoshi who used Windows/Visual Studio in first versions and could be a reason why he left the project.

Ask yourself the following question if you are a Visual Studio developer or any other IDE developer ?!
Would you quite the project you are working on if IDE changed to something you have no experience with and ditch years of IDE experience ?


Just a few weeks ago I built the entire project in Visual Studio 2017 and ran it through the debugger.   Using vcpkg (https://docs.microsoft.com/en-us/cpp/vcpkg?view=vs-2017) helps a lot with the dependencies.  I had never used it prior to attempting the build, so if I can do it then any competent programmer should be able to as well.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!