User Tools

Site Tools


dido:public:ra:xapend:xapend.b_stds:defact:ethereum:ethereum_solidity:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
dido:public:ra:xapend:xapend.b_stds:defact:ethereum:ethereum_solidity:start [2020/05/20 13:35]
char
dido:public:ra:xapend:xapend.b_stds:defact:ethereum:ethereum_solidity:start [2022/02/05 06:05] (current)
nick ↷ Page moved and renamed from dido:public:ra:xapend:xapend.b_stds:defact:ethereum:ethereum_solidity to dido:public:ra:xapend:xapend.b_stds:defact:ethereum:ethereum_solidity:start
Line 1: Line 1:
 ==== Ethereum: Solidity Language Specification ​ ==== ==== Ethereum: Solidity Language Specification ​ ====
-[[dido:​public:​ra:​xapend.stds:​defact:​ethereum| return to the Ethereum Standards ]]+[[dido:​public:​ra:xapend:xapend.b_stds:​defact:​ethereum:start| return to the Ethereum Standards ]]
  
 <​table>​ <​table>​
Line 17: Line 17:
 Source: [[https://​en.wikipedia.org/​wiki/​Solidity | Wikipedia Description of Solidity]] Source: [[https://​en.wikipedia.org/​wiki/​Solidity | Wikipedia Description of Solidity]]
  
-  ://Solidity is a statically-typed programming language designed for developing smart contracts that run on the EVM((+  ://Solidity is a statically-typed ​[[dido:​public:​ra:​xapend:​xapend.a_glossary:​p:​programlang|programming language]] designed for developing ​[[dido:​public:​ra:​xapend:​xapend.a_glossary:​s:​smart_contract|smart contracts]] that run on the EVM((
  "​Hyperledger Fabric Tutorial - Create a blockchain app for loyalty points"​. IBM Developer. Retrieved 10 April 2019.  "​Hyperledger Fabric Tutorial - Create a blockchain app for loyalty points"​. IBM Developer. Retrieved 10 April 2019.
 ))(( ))((
 Allison, Ian (30 March 2016). "​Microsoft adds Ethereum language Solidity to Visual Studio"​. International Business Times. Retrieved 11 May 2016. Allison, Ian (30 March 2016). "​Microsoft adds Ethereum language Solidity to Visual Studio"​. International Business Times. Retrieved 11 May 2016.
-)) Solidity is compiled to bytecode that is executable on the EVM. With Solidity, developers are able to write applications that implement self-enforcing business logic embodied in smart contracts, leaving a non-repudiable and authoritative record of transactions.(( ​+)) Solidity is compiled to bytecode that is executable on the EVM. With Solidity, developers are able to write [[dido:​public:​ra:​xapend:​xapend.a_glossary:​a:​application|applications]] that implement self-enforcing business logic embodied in smart contracts, leaving a non-repudiable and authoritative record of transactions.(( ​
 Allison, Ian (30 March 2016). "​Microsoft adds Ethereum language Solidity to Visual Studio"​. International Business Times. Retrieved 11 May 2016. Allison, Ian (30 March 2016). "​Microsoft adds Ethereum language Solidity to Visual Studio"​. International Business Times. Retrieved 11 May 2016.
 )) Writing smart contracts in smart contract specific languages such as Solidity is referred to as easy (ostensibly for those who already have programming skills).(( )) Writing smart contracts in smart contract specific languages such as Solidity is referred to as easy (ostensibly for those who already have programming skills).((
Line 27: Line 27:
 ))// ))//
  
-  ://As specified by Wood it is designed around the ECMAScript syntax to make it familiar for existing web developers;​[citation needed] unlike ECMAScript it has static typing and variadic return types. Compared to other EVM-targeting languages of the time such as Serpent and Mutan, Solidity contained a number of important differences. Complex member variables for contracts including arbitrarily hierarchical mappings and structs were supported. Contracts support inheritance,​ including multiple inheritance with C3 linearization. An application binary interface (ABI) facilitating multiple type-safe functions within a single contract was also introduced (and later supported by Serpent). A documentation system for specifying a user-centric description of the ramifications of a method-call was also included in the proposal, known as "​Natural Language Specification"​.((+  ://As specified by Wood it is designed around the ECMAScript ​[[dido:​public:​ra:​xapend:​xapend.a_glossary:​s:​syntax|syntax]] ​to make it familiar for existing web developers;​[citation needed] unlike ECMAScript it has static typing and variadic return types. Compared to other EVM-targeting languages of the time such as Serpent and Mutan, Solidity contained a number of important differences. Complex member variables for contracts including arbitrarily hierarchical mappings and structs were supported. Contracts support inheritance,​ including multiple inheritance with C3 linearization. An [[dido:​public:​ra:​xapend:​xapend.a_glossary:​a:​application_binary_interface_api]] ​facilitating multiple type-safe functions within a single contract was also introduced (and later supported by Serpent). A documentation system for specifying a user-centric description of the ramifications of a method-call was also included in the proposal, known as "​Natural Language Specification"​.((
 Kapetanios-2008-06-27 & p.309. Kapetanios-2008-06-27 & p.309.
 ))(( ))((
Line 37: Line 37:
   : //Solidity is an object-oriented,​ high-level language for implementing smart contracts. Smart contracts are programs which govern the behaviour of accounts within the Ethereum state.//   : //Solidity is an object-oriented,​ high-level language for implementing smart contracts. Smart contracts are programs which govern the behaviour of accounts within the Ethereum state.//
  
-  : //Solidity was influenced by C++, Python and JavaScript and is designed to target the Ethereum Virtual Machine (EVM).//+  : //Solidity was influenced by C++, Python and [[dido:​public:​ra:​xapend:​xapend.a_glossary:​j:​javascript|JavaScript]] and is designed to target the [[dido:​public:​ra:​xapend:​xapend.a_glossary:​e:​evm]].//
  
   : //Solidity is statically typed, supports inheritance,​ libraries and complex user-defined types among other features.//   : //Solidity is statically typed, supports inheritance,​ libraries and complex user-defined types among other features.//
  
-  : //With Solidity you can create contracts for uses such as voting, crowdfunding,​ blind auctions, and multi-signature wallets.//+  : //With Solidity you can create contracts for uses such as voting, crowdfunding,​ blind auctions, and [[dido:​public:​ra:​xapend:​xapend.a_glossary:​m:​multi-signature|multi-signature]] ​wallets.//
  
   : //When deploying contracts, you should use the latest released version of Solidity. This is because breaking changes as well as new features and bug fixes are introduced regularly. We currently use a 0.x version number [[https://​semver.org/#​spec-item-4 | to indicate this fast pace of change]].//   : //When deploying contracts, you should use the latest released version of Solidity. This is because breaking changes as well as new features and bug fixes are introduced regularly. We currently use a 0.x version number [[https://​semver.org/#​spec-item-4 | to indicate this fast pace of change]].//
 +
 +
 +/​**=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 +/* To add a discussion page to this page, comment out the line that says 
 +  ~~DISCUSSION:​off~~
 +*/
 +~~DISCUSSION:​on|Outstanding Issues~~
 +~~DISCUSSION:​off~~
dido/public/ra/xapend/xapend.b_stds/defact/ethereum/ethereum_solidity/start.1589996130.txt.gz · Last modified: 2020/05/20 13:35 by char