ગુજરાતી: this translation comes from the ICEC app and has not yet been reviewed by a native speaker. The English text is the reference.
Basics
સ્માર્ટ કોન્ટ્રાક્ટ (Smart contract)
સ્માર્ટ કોન્ટ્રાક્ટ એ બ્લોકચેન પર સંગ્રહાયેલો પ્રોગ્રામ છે, જે તેની શરતો પૂરી થાય ત્યારે કોઈ વચેટિયા વિના આપોઆપ ચાલે છે.
In detail
એક વાર ડિપ્લોય થયા પછી કોડ બ્લોકચેન પર દેખાય છે અને તેમાં જે લખ્યું હોય બરાબર તે જ અમલમાં મૂકે છે. સ્માર્ટ કોન્ટ્રાક્ટ ડિસેન્ટ્રલાઇઝ્ડ એક્સચેન્જ, ધિરાણ સેવાઓ, NFT અને ટોકન માટે ફંડ રાખે છે અને ખસેડે છે. તેનો ઉપયોગ કરવા માટે એક ટ્રાન્ઝેક્શન અને નેટવર્ક ફી જરૂરી છે. ઘણા કોન્ટ્રાક્ટ શરૂ થયા પછી બદલી શકાતા નથી, જે અનુમાનક્ષમતા આપે છે પણ તેનો અર્થ એ પણ છે કે કોડમાંની ભૂલો ત્યાં જ રહી શકે છે.
Practical example
ધિરાણનો કોન્ટ્રાક્ટ એવી રીતે લખી શકાય કે ઉધાર લેનાર ચુકવણી કરે ત્યારે લોક કરેલું કોલેટરલ (ગીરવે મૂકેલી એસેટ) આપોઆપ છૂટું થઈ જાય, અને આ પગલું મંજૂર કરવા કોઈ બેંક અધિકારીની જરૂર ન પડે.
Risk note
કોન્ટ્રાક્ટમાં રહેલા બગ અથવા જાણીજોઈને છુપાવેલા ફંક્શનને કારણે મોટું નુકસાન થયું છે. તમારા વૉલેટમાં કોઈ કોન્ટ્રાક્ટને મંજૂરી (approve) આપવાથી તેને તમારા ટોકન ખસેડવાની પરવાનગી મળી શકે છે, તેથી તમે શેના પર સહી કરો છો તે વાંચો.
English reference: Smart contract
A smart contract is a program stored on a blockchain that runs automatically when its conditions are met, without a middleman.
Once deployed, the code is visible on the blockchain and carries out exactly what is written in it. Smart contracts hold and move funds for decentralised exchanges, lending services, NFTs and tokens. Using one requires a transaction and a network fee. Many contracts cannot be changed after launch, which gives predictability but also means that mistakes in the code may stay there.