{"id":2506,"date":"2022-10-19T14:55:47","date_gmt":"2022-10-19T12:55:47","guid":{"rendered":"https:\/\/clone.nextrope.com\/?p=2506"},"modified":"2024-04-08T22:40:27","modified_gmt":"2024-04-08T20:40:27","slug":"jak-stworzyc-prosty-wallet-smart-contract-za-pomoca-solidity","status":"publish","type":"post","link":"https:\/\/clone.nextrope.com\/pl\/jak-stworzyc-prosty-wallet-smart-contract-za-pomoca-solidity\/","title":{"rendered":"Jak stworzy\u0107 prosty \u201cWallet\u201d smart contract za pomoc\u0105 solidity ?"},"content":{"rendered":"<p>W poprzednim tutorialu dowiedzia\u0142e\u015b si\u0119, jak stworzy\u0107 sw\u00f3j pierwszy smart contract, w tym po\u015bcie dowiesz si\u0119 jak stworzy\u0107 &#8220;Wallet&#8221; smart contract, do kt\u00f3rego b\u0119dziesz m\u00f3g\u0142 wysy\u0142a\u0107 oraz wyp\u0142aca\u0107 <a href=\"https:\/\/clone.nextrope.com\/pl\/ethereum-2-0-co-premiera-oznacza-dla-twojej-aplikacji\/\" rel=\"nofollow\">Ethereum<\/a>, oczywi\u015bcie kontrakt b\u0119dzie tak napisany, \u017ce tylko w\u0142a\u015bciciel kontraktu b\u0119dzie m\u00f3g\u0142 wyp\u0142aci\u0107 \u015brodki.<\/p>\n\n\n\n<div class=\"wp-block-ht-block-toc  is-style-outline htoc htoc--position-wide toc-list-style-plain\" data-htoc-state=\"expanded\"><span class=\"htoc__title\"><span class=\"ht_toc_title\">Table of Contents<\/span><span class=\"htoc__toggle\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"16\" height=\"16\"><g fill=\"#444\"><path d=\"M15 7H1c-.6 0-1 .4-1 1s.4 1 1 1h14c.6 0 1-.4 1-1s-.4-1-1-1z\"><\/path><path d=\"M15 1H1c-.6 0-1 .4-1 1s.4 1 1 1h14c.6 0 1-.4 1-1s-.4-1-1-1zM15 13H1c-.6 0-1 .4-1 1s.4 1 1 1h14c.6 0 1-.4 1-1s-.4-1-1-1z\"><\/path><\/g><\/svg><\/span><\/span><div class=\"htoc__itemswrap\"><ul class=\"ht_toc_list\"><li class=\"\"><a href=\"#htoc-czym-s-keywordy-public-external-internal-private\">Czym s\u0105 keywordy public, external, internal, private ?<\/a><\/li><li class=\"\"><a href=\"#htoc-pure-vs-view\">Pure vs View<\/a><\/li><li class=\"\"><a href=\"#htoc-jak-stworzy-wallet-smart-contract\">Jak stworzy\u0107 \u201cWallet\u201d smart kontrakt<\/a><\/li><li class=\"\"><a href=\"#htoc-podsumowa\">Podsumowanie <\/a><\/li><\/ul><\/div><\/div>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"htoc-czym-s-keywordy-public-external-internal-private\">Czym s\u0105 keywordy public, external, internal, private ?<\/h2>\n\n\n\n<p>S\u0142owo kluczowe <em>public<\/em> pozna\u0142e\u015b ju\u017c w <a href=\"https:\/\/clone.nextrope.com\/pl\/bezpieczenstwo-smart-kontraktow-5-zasad-pisania-bezpiecznych-smart-kontraktow-nextrope-academy\/\" rel=\"nofollow\">poprzednim tutorialu<\/a> \u201cHello World\u201d, oznacza ono, \u017ce funkcja jest publiczna, czyli mo\u017ce zosta\u0107 wywo\u0142ana zar\u00f3wno \u201cna zewn\u0105trz kontraktu\u201d jak i &#8220;wewn\u0105trz&#8221;. Kontrakty, dziedzicz\u0105ce nasz kontrakt bed\u0105 mia\u0142y dost\u0119p do takiej funkcji.<\/p>\n\n\n\n<p>Przyk\u0142ad:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>uint counter = 0;\n    function externalFunction() external  {\n        counter++;\n        publicFunction();\n    }\n \n    function publicFunction() public  {\n        counter++;\n    }\n<\/code><\/pre>\n\n\n\n<p>Jak widzisz funkcj\u0119 public mo\u017cna nie tylko wywo\u0142a\u0107 \u201cna zewn\u0105trz smart kontraktu\u201d, ale r\u00f3wnie\u017c w jego \u015brodku,\u00a0tak jak w funkcji <em>externalFunction<\/em>. A w\u0142a\u015bnie, co oznacza w\u0142a\u015bciwie ten <em>external<\/em>?<\/p>\n\n\n\n<p>Je\u015bli funkcja jest <em>external<\/em>, oznacza to po prostu, \u017ce mo\u017cna j\u0105 wywo\u0142a\u0107 <strong>tylko<\/strong> \u201cna zewn\u0105trz smart kontraktu\u201d , tak jak wywo\u0142ywali\u015bmy nasz\u0105 funkcje <em>sayHelloWorld<\/em> w poprzednim tutorialu. Kontrakty, dziedzicz\u0105ce nasz kontrakt, bed\u0105 r\u00f3wnie\u017c mia\u0142y dost\u0119p do funkcji <em>external<\/em>.<\/p>\n\n\n\n<p>Pozosta\u0142y jeszcze dwa kluczowe s\u0142owa: <em>internal<\/em> i <em>private<\/em>.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>function returnTwoPlusTwo() internal pure returns (uint256)  {\n        return 2 + 2;\n    }\n \n    function returnMsgSender() private view returns (address)  {\n        return msg.sender;\n    }<\/code><\/pre>\n\n\n\n<p><em>Internal<\/em> to dok\u0142adnie odwrotno\u015b\u0107 <em>external<\/em>, takiej funkcji nie b\u0119dzie mo\u017cna wywo\u0142a\u0107 \u201cna zewn\u0105trz smart kontraktu\u201d, tylko w jego \u015brodku. Tak samo jak w przypadku <em>external<\/em> i <em>public<\/em>, kontrakty, kt\u00f3re bed\u0105 dziedziczy\u0107 tak\u0105 funkcj\u0119, bed\u0105 mia\u0142y do niej dost\u0119p.<\/p>\n\n\n\n<p>Ostatnia do om\u00f3wienia zosta\u0142a funkcja <em>private<\/em>. G\u0142\u00f3wn\u0105 jej cech\u0105 jest fakt, \u017ce b\u0119dzie ona widoczna tylko w kontrakcie, w kt\u00f3rym zosta\u0142a zdefiniowana. Natomiast kontrakty, kt\u00f3re dziedzicz\u0105 nasz smart kontrakt, nie b\u0119d\u0105 mog\u0142y jej wywo\u0142a\u0107.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"htoc-pure-vs-view\">Pure vs View<\/h2>\n\n\n\n<p>Po przeanalizowaniu funkcji <em>internal<\/em> oraz <em>private<\/em>, mo\u017cna zauwa\u017cy\u0107, \u017ce wyst\u0119puj\u0105 przy nich s\u0142owa &#8216;pure&#8217; oraz &#8216;view&#8217;. Co one oznaczaj\u0105 ?<\/p>\n\n\n\n<p>Gdy funkcja jest pure, oznacza to, \u017ce nie modyfikuje ani nie zczytuje \u017cadnych danych z blockchaina, tak jak funkcja <em>returnTwoPlusTwo<\/em> &#8211; zwraca ona tylko wynik 2+2, nie wczytuje ani nie modyfikuje \u017cadnej zmiennej w smart kontrakie ani blockchainie.<\/p>\n\n\n\n<p>Funkcje z dopiskiem view, oznaczaj\u0105, \u017ce nie modyfikuj\u0105 danych z blockchaina, ale za to je wczytuj\u0105. Na przyk\u0142ad funkcja <em>returnMsgSender<\/em> zczytuje warto\u015b\u0107 zmiennej msg.sender, reprezentuj\u0105c\u0105 adres, kt\u00f3ry wywo\u0142a\u0142 dan\u0105 funkcje.<\/p>\n\n\n\n<p>Dobrze, wystarczy ju\u017c tej teorii, zabierzmy si\u0119 w ko\u0144cu do pracy i stw\u00f3rzmy wallet smart kontrakt!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"htoc-jak-stworzy-wallet-smart-contract\">Jak stworzy\u0107 \u201cWallet\u201d smart kontrakt<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/clone.nextrope.com\/wp-content\/uploads\/2022\/10\/5-rules-for-writing-safe-smart-contracts-2-1024x576.jpg\" alt=\"\" class=\"wp-image-2508\" srcset=\"https:\/\/clone.nextrope.com\/wp-content\/uploads\/2022\/10\/5-rules-for-writing-safe-smart-contracts-2-1024x576.jpg 1024w, https:\/\/clone.nextrope.com\/wp-content\/uploads\/2022\/10\/5-rules-for-writing-safe-smart-contracts-2-300x169.jpg 300w, https:\/\/clone.nextrope.com\/wp-content\/uploads\/2022\/10\/5-rules-for-writing-safe-smart-contracts-2-768x432.jpg 768w, https:\/\/clone.nextrope.com\/wp-content\/uploads\/2022\/10\/5-rules-for-writing-safe-smart-contracts-2-1536x864.jpg 1536w, https:\/\/clone.nextrope.com\/wp-content\/uploads\/2022\/10\/5-rules-for-writing-safe-smart-contracts-2-18x10.jpg 18w, https:\/\/clone.nextrope.com\/wp-content\/uploads\/2022\/10\/5-rules-for-writing-safe-smart-contracts-2-450x253.jpg 450w, https:\/\/clone.nextrope.com\/wp-content\/uploads\/2022\/10\/5-rules-for-writing-safe-smart-contracts-2-600x338.jpg 600w, https:\/\/clone.nextrope.com\/wp-content\/uploads\/2022\/10\/5-rules-for-writing-safe-smart-contracts-2-900x506.jpg 900w, https:\/\/clone.nextrope.com\/wp-content\/uploads\/2022\/10\/5-rules-for-writing-safe-smart-contracts-2.jpg 1920w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Najpierw, jak zawsze, nale\u017cy zdefiniowa\u0107 wersj\u0119 solidity, kt\u00f3r\u0105 chcemy u\u017cywa\u0107. My b\u0119dziemy u\u017cywa\u0107 wersji 0.8.12, a zatem na g\u00f3rze pliku wpisuje:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pragma solidity 0.8.12;<\/code><\/pre>\n\n\n\n<p>Tworz\u0119 kontrakt o nazwie Wallet :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>contract Wallet {\n   \n}<\/code><\/pre>\n\n\n\n<p>Ka\u017cdy portfel ma swojego w\u0142a\u015bciciela, wi\u0119c zdefiniuje address na ethereum, kt\u00f3ry b\u0119dzie w\u0142a\u015bcicielem smart kontraktu. Ownerem kontraktu nazwiemy osob\u0119, kt\u00f3ra zrobi deploy naszego smart kontraktu.<\/p>\n\n\n\n<p>\u00a0Warto zaznaczy\u0107, \u017ce powinni\u015bmy mie\u0107 zmienn\u0105 dzi\u0119ki, kt\u00f3rej b\u0119dziemy mogli monitorowa\u0107 balans smart kontraktu.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>contract Wallet {\n    address public owner;\n    uint public balance;\n    constructor() {\n        owner = msg.sender;\n    }<\/code><\/pre>\n\n\n\n<p>Stw\u00f3rzmy funkcj\u0119, dzi\u0119ki kt\u00f3rej b\u0119dziemy mogli przesy\u0142a\u0107 \u015brodki do smart kontraktu.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> function depositEther() external payable{\n        balance += msg.value;\n    }<\/code><\/pre>\n\n\n\n<p>W tej funkcji pojawi\u0142y si\u0119 dwa nowe s\u0142owa : &#8216;payable&#8217; oraz &#8216;msg.value&#8217;.<\/p>\n\n\n\n<p>Je\u015bli funkcja jest payable oznacza to, \u017ce wraz z wywo\u0142aniem funkcji mo\u017cemy przesy\u0142a\u0107 ethereum do smart kontraktu, a msg.value to po prostu ilo\u015b\u0107 przes\u0142anych wei wraz z wywo\u0142aniem funkcji.<\/p>\n\n\n\n<p>Teraz stw\u00f3rzmy funkcje, dzi\u0119ki kt\u00f3rej b\u0119dziemy mogli wyp\u0142aca\u0107 przes\u0142ane ethereum, oczywi\u015bcie tylko w\u0142a\u015bciciel smart kontraktu powinien mie\u0107 tak\u0105 mo\u017cliwo\u015b\u0107.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>function withdrawEther(uint amount) external{\n        require(msg.sender == owner, \"Only owner can call this function\");\n        require(amount &lt;= balance, \"Amount exceeds balance\");\n        balance -= amount;\n        payable(owner).transfer(amount);\n    }<\/code><\/pre>\n\n\n\n<p><em>Require<\/em> sprawia, \u017ce gdy podany w nim warunek si\u0119 nie spe\u0142ni funkcja zwraca b\u0142ad z wiadomo\u015bci\u0105 jak\u0105 podali\u015bmy.<\/p>\n\n\n\n<p>W funkcji musieli\u015bmy zkonwertowa\u0107 zmienn\u0105 owner z addressu na address payable, poniewa\u017c ethereum mo\u017cna przesy\u0142a\u0107 tylko do adress\u00f3w ze s\u0142owem kluczowym payable.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"htoc-podsumowa\">Podsumowanie <\/h2>\n\n\n\n<p>To ju\u017c koniec! Smart kontrakt jest gotowy! \u015amia\u0142o, spr\u00f3buj si\u0119 nim pobawi\u0107, a je\u015bli Ci si\u0119 uda to nawet go ulepszy\u0107.\u00a0<\/p>\n\n\n\n<p>W nast\u0119pnym tutorialu z serii Nextrope Academy poka\u017cemy jak napisa\u0107 prosty aukcyjny smart kontrakt.<\/p>","protected":false},"excerpt":{"rendered":"<p>W poprzednim tutorialu dowiedzia\u0142e\u015b si\u0119, jak stworzy\u0107 sw\u00f3j pierwszy smart contract, w tym po\u015bcie dowiesz si\u0119 jak stworzy\u0107 &#8220;Wallet&#8221; smart contract, do kt\u00f3rego b\u0119dziesz m\u00f3g\u0142 wysy\u0142a\u0107 oraz wyp\u0142aca\u0107 Ethereum, oczywi\u015bcie kontrakt b\u0119dzie tak napisany, \u017ce tylko w\u0142a\u015bciciel kontraktu b\u0119dzie m\u00f3g\u0142 wyp\u0142aci\u0107 \u015brodki. Czym s\u0105 keywordy public, external, internal, private ? S\u0142owo kluczowe public pozna\u0142e\u015b ju\u017c [&hellip;]<\/p>","protected":false},"author":16,"featured_media":2508,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"iawp_total_views":0,"footnotes":""},"categories":[1310,1353],"tags":[],"class_list":["post-2506","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-solidity-2-pl-pl","category-tutoriale"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Jak stworzy\u0107 prosty \u201cWallet\u201d smart contract za pomoc\u0105 solidity ? - Nextrope - Your Trusted Partner for Blockchain Development and Advisory Services<\/title>\n<meta name=\"description\" content=\"Dowiesz si\u0119 jak stworzy\u0107 smart contract do kt\u00f3rego b\u0119dziesz m\u00f3g\u0142 wysy\u0142a\u0107 oraz wyp\u0142aca\u0107 Ethereum, oczywi\u015bcie kontrakt b\u0119dzie tak napisany, \u017ce tylko w\u0142a\u015bciciel kontraktu b\u0119dzie m\u00f3g\u0142 wyp\u0142aci\u0107 \u015brodki.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/clone.nextrope.com\/pl\/jak-stworzyc-prosty-wallet-smart-contract-za-pomoca-solidity\/\" \/>\n<meta property=\"og:locale\" content=\"pl_PL\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Jak stworzy\u0107 prosty \u201cWallet\u201d smart contract za pomoc\u0105 solidity ? - Nextrope - Your Trusted Partner for Blockchain Development and Advisory Services\" \/>\n<meta property=\"og:description\" content=\"Dowiesz si\u0119 jak stworzy\u0107 smart contract do kt\u00f3rego b\u0119dziesz m\u00f3g\u0142 wysy\u0142a\u0107 oraz wyp\u0142aca\u0107 Ethereum, oczywi\u015bcie kontrakt b\u0119dzie tak napisany, \u017ce tylko w\u0142a\u015bciciel kontraktu b\u0119dzie m\u00f3g\u0142 wyp\u0142aci\u0107 \u015brodki.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/clone.nextrope.com\/pl\/jak-stworzyc-prosty-wallet-smart-contract-za-pomoca-solidity\/\" \/>\n<meta property=\"og:site_name\" content=\"Nextrope - Your Trusted Partner for Blockchain Development and Advisory Services\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/weknowtheropes\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-10-19T12:55:47+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-08T20:40:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/clone.nextrope.com\/wp-content\/uploads\/2022\/10\/5-rules-for-writing-safe-smart-contracts-2.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1080\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Paulina Lewandowska\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Napisane przez\" \/>\n\t<meta name=\"twitter:data1\" content=\"Paulina Lewandowska\" \/>\n\t<meta name=\"twitter:label2\" content=\"Szacowany czas czytania\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minuty\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/clone.nextrope.com\\\/pl\\\/jak-stworzyc-prosty-wallet-smart-contract-za-pomoca-solidity\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/clone.nextrope.com\\\/pl\\\/jak-stworzyc-prosty-wallet-smart-contract-za-pomoca-solidity\\\/\"},\"author\":{\"name\":\"Paulina Lewandowska\",\"@id\":\"https:\\\/\\\/clone.nextrope.com\\\/pl\\\/#\\\/schema\\\/person\\\/9e092eb5882f3c64bff1c90187bc7edd\"},\"headline\":\"Jak stworzy\u0107 prosty \u201cWallet\u201d smart contract za pomoc\u0105 solidity ?\",\"datePublished\":\"2022-10-19T12:55:47+00:00\",\"dateModified\":\"2024-04-08T20:40:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/clone.nextrope.com\\\/pl\\\/jak-stworzyc-prosty-wallet-smart-contract-za-pomoca-solidity\\\/\"},\"wordCount\":714,\"publisher\":{\"@id\":\"https:\\\/\\\/clone.nextrope.com\\\/pl\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/clone.nextrope.com\\\/pl\\\/jak-stworzyc-prosty-wallet-smart-contract-za-pomoca-solidity\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/clone.nextrope.com\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/5-rules-for-writing-safe-smart-contracts-2.jpg\",\"articleSection\":[\"Solidity\",\"Tutoriale\"],\"inLanguage\":\"pl-PL\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/clone.nextrope.com\\\/pl\\\/jak-stworzyc-prosty-wallet-smart-contract-za-pomoca-solidity\\\/\",\"url\":\"https:\\\/\\\/clone.nextrope.com\\\/pl\\\/jak-stworzyc-prosty-wallet-smart-contract-za-pomoca-solidity\\\/\",\"name\":\"Jak stworzy\u0107 prosty \u201cWallet\u201d smart contract za pomoc\u0105 solidity ? - Nextrope - Your Trusted Partner for Blockchain Development and Advisory Services\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/clone.nextrope.com\\\/pl\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/clone.nextrope.com\\\/pl\\\/jak-stworzyc-prosty-wallet-smart-contract-za-pomoca-solidity\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/clone.nextrope.com\\\/pl\\\/jak-stworzyc-prosty-wallet-smart-contract-za-pomoca-solidity\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/clone.nextrope.com\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/5-rules-for-writing-safe-smart-contracts-2.jpg\",\"datePublished\":\"2022-10-19T12:55:47+00:00\",\"dateModified\":\"2024-04-08T20:40:27+00:00\",\"description\":\"Dowiesz si\u0119 jak stworzy\u0107 smart contract do kt\u00f3rego b\u0119dziesz m\u00f3g\u0142 wysy\u0142a\u0107 oraz wyp\u0142aca\u0107 Ethereum, oczywi\u015bcie kontrakt b\u0119dzie tak napisany, \u017ce tylko w\u0142a\u015bciciel kontraktu b\u0119dzie m\u00f3g\u0142 wyp\u0142aci\u0107 \u015brodki.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/clone.nextrope.com\\\/pl\\\/jak-stworzyc-prosty-wallet-smart-contract-za-pomoca-solidity\\\/#breadcrumb\"},\"inLanguage\":\"pl-PL\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/clone.nextrope.com\\\/pl\\\/jak-stworzyc-prosty-wallet-smart-contract-za-pomoca-solidity\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pl-PL\",\"@id\":\"https:\\\/\\\/clone.nextrope.com\\\/pl\\\/jak-stworzyc-prosty-wallet-smart-contract-za-pomoca-solidity\\\/#primaryimage\",\"url\":\"https:\\\/\\\/clone.nextrope.com\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/5-rules-for-writing-safe-smart-contracts-2.jpg\",\"contentUrl\":\"https:\\\/\\\/clone.nextrope.com\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/5-rules-for-writing-safe-smart-contracts-2.jpg\",\"width\":1920,\"height\":1080},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/clone.nextrope.com\\\/pl\\\/jak-stworzyc-prosty-wallet-smart-contract-za-pomoca-solidity\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/clone.nextrope.com\\\/pl\\\/wsparcie-konsultacje-technologie-web3-blockchain-nextrope\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Jak stworzy\u0107 prosty \u201cWallet\u201d smart contract za pomoc\u0105 solidity ?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/clone.nextrope.com\\\/pl\\\/#website\",\"url\":\"https:\\\/\\\/clone.nextrope.com\\\/pl\\\/\",\"name\":\"Nextrope - Your Trusted Partner for Blockchain Development and Advisory Services\",\"description\":\"Fintech Software House\",\"publisher\":{\"@id\":\"https:\\\/\\\/clone.nextrope.com\\\/pl\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/clone.nextrope.com\\\/pl\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pl-PL\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/clone.nextrope.com\\\/pl\\\/#organization\",\"name\":\"Nextrope\",\"url\":\"https:\\\/\\\/clone.nextrope.com\\\/pl\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pl-PL\",\"@id\":\"https:\\\/\\\/clone.nextrope.com\\\/pl\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/clone.nextrope.com\\\/wp-content\\\/uploads\\\/2020\\\/07\\\/logo-dark.png\",\"contentUrl\":\"https:\\\/\\\/clone.nextrope.com\\\/wp-content\\\/uploads\\\/2020\\\/07\\\/logo-dark.png\",\"width\":180,\"height\":40,\"caption\":\"Nextrope\"},\"image\":{\"@id\":\"https:\\\/\\\/clone.nextrope.com\\\/pl\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/weknowtheropes\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/nextrope\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/clone.nextrope.com\\\/pl\\\/#\\\/schema\\\/person\\\/9e092eb5882f3c64bff1c90187bc7edd\",\"name\":\"Paulina Lewandowska\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pl-PL\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/36a25208a624321c409516a1c2dc6a3e6501f015e1360e7769e49b6a87d5617e?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/36a25208a624321c409516a1c2dc6a3e6501f015e1360e7769e49b6a87d5617e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/36a25208a624321c409516a1c2dc6a3e6501f015e1360e7769e49b6a87d5617e?s=96&d=mm&r=g\",\"caption\":\"Paulina Lewandowska\"},\"url\":\"https:\\\/\\\/clone.nextrope.com\\\/pl\\\/author\\\/p-lewandowska\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Jak stworzy\u0107 prosty \u201cWallet\u201d smart contract za pomoc\u0105 solidity ? - Nextrope - Your Trusted Partner for Blockchain Development and Advisory Services","description":"Dowiesz si\u0119 jak stworzy\u0107 smart contract do kt\u00f3rego b\u0119dziesz m\u00f3g\u0142 wysy\u0142a\u0107 oraz wyp\u0142aca\u0107 Ethereum, oczywi\u015bcie kontrakt b\u0119dzie tak napisany, \u017ce tylko w\u0142a\u015bciciel kontraktu b\u0119dzie m\u00f3g\u0142 wyp\u0142aci\u0107 \u015brodki.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/clone.nextrope.com\/pl\/jak-stworzyc-prosty-wallet-smart-contract-za-pomoca-solidity\/","og_locale":"pl_PL","og_type":"article","og_title":"Jak stworzy\u0107 prosty \u201cWallet\u201d smart contract za pomoc\u0105 solidity ? - Nextrope - Your Trusted Partner for Blockchain Development and Advisory Services","og_description":"Dowiesz si\u0119 jak stworzy\u0107 smart contract do kt\u00f3rego b\u0119dziesz m\u00f3g\u0142 wysy\u0142a\u0107 oraz wyp\u0142aca\u0107 Ethereum, oczywi\u015bcie kontrakt b\u0119dzie tak napisany, \u017ce tylko w\u0142a\u015bciciel kontraktu b\u0119dzie m\u00f3g\u0142 wyp\u0142aci\u0107 \u015brodki.","og_url":"https:\/\/clone.nextrope.com\/pl\/jak-stworzyc-prosty-wallet-smart-contract-za-pomoca-solidity\/","og_site_name":"Nextrope - Your Trusted Partner for Blockchain Development and Advisory Services","article_publisher":"https:\/\/www.facebook.com\/weknowtheropes\/","article_published_time":"2022-10-19T12:55:47+00:00","article_modified_time":"2024-04-08T20:40:27+00:00","og_image":[{"width":1920,"height":1080,"url":"https:\/\/clone.nextrope.com\/wp-content\/uploads\/2022\/10\/5-rules-for-writing-safe-smart-contracts-2.jpg","type":"image\/jpeg"}],"author":"Paulina Lewandowska","twitter_card":"summary_large_image","twitter_misc":{"Napisane przez":"Paulina Lewandowska","Szacowany czas czytania":"4 minuty"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/clone.nextrope.com\/pl\/jak-stworzyc-prosty-wallet-smart-contract-za-pomoca-solidity\/#article","isPartOf":{"@id":"https:\/\/clone.nextrope.com\/pl\/jak-stworzyc-prosty-wallet-smart-contract-za-pomoca-solidity\/"},"author":{"name":"Paulina Lewandowska","@id":"https:\/\/clone.nextrope.com\/pl\/#\/schema\/person\/9e092eb5882f3c64bff1c90187bc7edd"},"headline":"Jak stworzy\u0107 prosty \u201cWallet\u201d smart contract za pomoc\u0105 solidity ?","datePublished":"2022-10-19T12:55:47+00:00","dateModified":"2024-04-08T20:40:27+00:00","mainEntityOfPage":{"@id":"https:\/\/clone.nextrope.com\/pl\/jak-stworzyc-prosty-wallet-smart-contract-za-pomoca-solidity\/"},"wordCount":714,"publisher":{"@id":"https:\/\/clone.nextrope.com\/pl\/#organization"},"image":{"@id":"https:\/\/clone.nextrope.com\/pl\/jak-stworzyc-prosty-wallet-smart-contract-za-pomoca-solidity\/#primaryimage"},"thumbnailUrl":"https:\/\/clone.nextrope.com\/wp-content\/uploads\/2022\/10\/5-rules-for-writing-safe-smart-contracts-2.jpg","articleSection":["Solidity","Tutoriale"],"inLanguage":"pl-PL"},{"@type":"WebPage","@id":"https:\/\/clone.nextrope.com\/pl\/jak-stworzyc-prosty-wallet-smart-contract-za-pomoca-solidity\/","url":"https:\/\/clone.nextrope.com\/pl\/jak-stworzyc-prosty-wallet-smart-contract-za-pomoca-solidity\/","name":"Jak stworzy\u0107 prosty \u201cWallet\u201d smart contract za pomoc\u0105 solidity ? - Nextrope - Your Trusted Partner for Blockchain Development and Advisory Services","isPartOf":{"@id":"https:\/\/clone.nextrope.com\/pl\/#website"},"primaryImageOfPage":{"@id":"https:\/\/clone.nextrope.com\/pl\/jak-stworzyc-prosty-wallet-smart-contract-za-pomoca-solidity\/#primaryimage"},"image":{"@id":"https:\/\/clone.nextrope.com\/pl\/jak-stworzyc-prosty-wallet-smart-contract-za-pomoca-solidity\/#primaryimage"},"thumbnailUrl":"https:\/\/clone.nextrope.com\/wp-content\/uploads\/2022\/10\/5-rules-for-writing-safe-smart-contracts-2.jpg","datePublished":"2022-10-19T12:55:47+00:00","dateModified":"2024-04-08T20:40:27+00:00","description":"Dowiesz si\u0119 jak stworzy\u0107 smart contract do kt\u00f3rego b\u0119dziesz m\u00f3g\u0142 wysy\u0142a\u0107 oraz wyp\u0142aca\u0107 Ethereum, oczywi\u015bcie kontrakt b\u0119dzie tak napisany, \u017ce tylko w\u0142a\u015bciciel kontraktu b\u0119dzie m\u00f3g\u0142 wyp\u0142aci\u0107 \u015brodki.","breadcrumb":{"@id":"https:\/\/clone.nextrope.com\/pl\/jak-stworzyc-prosty-wallet-smart-contract-za-pomoca-solidity\/#breadcrumb"},"inLanguage":"pl-PL","potentialAction":[{"@type":"ReadAction","target":["https:\/\/clone.nextrope.com\/pl\/jak-stworzyc-prosty-wallet-smart-contract-za-pomoca-solidity\/"]}]},{"@type":"ImageObject","inLanguage":"pl-PL","@id":"https:\/\/clone.nextrope.com\/pl\/jak-stworzyc-prosty-wallet-smart-contract-za-pomoca-solidity\/#primaryimage","url":"https:\/\/clone.nextrope.com\/wp-content\/uploads\/2022\/10\/5-rules-for-writing-safe-smart-contracts-2.jpg","contentUrl":"https:\/\/clone.nextrope.com\/wp-content\/uploads\/2022\/10\/5-rules-for-writing-safe-smart-contracts-2.jpg","width":1920,"height":1080},{"@type":"BreadcrumbList","@id":"https:\/\/clone.nextrope.com\/pl\/jak-stworzyc-prosty-wallet-smart-contract-za-pomoca-solidity\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/clone.nextrope.com\/pl\/wsparcie-konsultacje-technologie-web3-blockchain-nextrope\/"},{"@type":"ListItem","position":2,"name":"Jak stworzy\u0107 prosty \u201cWallet\u201d smart contract za pomoc\u0105 solidity ?"}]},{"@type":"WebSite","@id":"https:\/\/clone.nextrope.com\/pl\/#website","url":"https:\/\/clone.nextrope.com\/pl\/","name":"Nextrope - Your Trusted Partner for Blockchain Development and Advisory Services","description":"Fintech Software House","publisher":{"@id":"https:\/\/clone.nextrope.com\/pl\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/clone.nextrope.com\/pl\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pl-PL"},{"@type":"Organization","@id":"https:\/\/clone.nextrope.com\/pl\/#organization","name":"Nextrope","url":"https:\/\/clone.nextrope.com\/pl\/","logo":{"@type":"ImageObject","inLanguage":"pl-PL","@id":"https:\/\/clone.nextrope.com\/pl\/#\/schema\/logo\/image\/","url":"https:\/\/clone.nextrope.com\/wp-content\/uploads\/2020\/07\/logo-dark.png","contentUrl":"https:\/\/clone.nextrope.com\/wp-content\/uploads\/2020\/07\/logo-dark.png","width":180,"height":40,"caption":"Nextrope"},"image":{"@id":"https:\/\/clone.nextrope.com\/pl\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/weknowtheropes\/","https:\/\/www.linkedin.com\/company\/nextrope"]},{"@type":"Person","@id":"https:\/\/clone.nextrope.com\/pl\/#\/schema\/person\/9e092eb5882f3c64bff1c90187bc7edd","name":"Paulina Lewandowska","image":{"@type":"ImageObject","inLanguage":"pl-PL","@id":"https:\/\/secure.gravatar.com\/avatar\/36a25208a624321c409516a1c2dc6a3e6501f015e1360e7769e49b6a87d5617e?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/36a25208a624321c409516a1c2dc6a3e6501f015e1360e7769e49b6a87d5617e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/36a25208a624321c409516a1c2dc6a3e6501f015e1360e7769e49b6a87d5617e?s=96&d=mm&r=g","caption":"Paulina Lewandowska"},"url":"https:\/\/clone.nextrope.com\/pl\/author\/p-lewandowska\/"}]}},"_links":{"self":[{"href":"https:\/\/clone.nextrope.com\/pl\/wp-json\/wp\/v2\/posts\/2506","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/clone.nextrope.com\/pl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/clone.nextrope.com\/pl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/clone.nextrope.com\/pl\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/clone.nextrope.com\/pl\/wp-json\/wp\/v2\/comments?post=2506"}],"version-history":[{"count":7,"href":"https:\/\/clone.nextrope.com\/pl\/wp-json\/wp\/v2\/posts\/2506\/revisions"}],"predecessor-version":[{"id":2521,"href":"https:\/\/clone.nextrope.com\/pl\/wp-json\/wp\/v2\/posts\/2506\/revisions\/2521"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/clone.nextrope.com\/pl\/wp-json\/wp\/v2\/media\/2508"}],"wp:attachment":[{"href":"https:\/\/clone.nextrope.com\/pl\/wp-json\/wp\/v2\/media?parent=2506"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/clone.nextrope.com\/pl\/wp-json\/wp\/v2\/categories?post=2506"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/clone.nextrope.com\/pl\/wp-json\/wp\/v2\/tags?post=2506"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}