{"repo":"svanas/web3.pas","free":true,"listed":false,"github":"https://github.com/svanas/web3.pas","clone":"git clone https://github.com/svanas/web3.pas.git","description":"web3.pas is a SDK for creating decentralized web apps in Delphi.","language":"Pascal","stars":18,"topics":["delphi","tms-web-core","web3","ethers"],"license":"GPL-3.0","category":"blockchain-web3","readme_excerpt":"web3.pas web3.pas is a SDK for creating decentralized web apps in Embarcadero Delphi. web3.pas is built upon TMS Web Core, a framework for creating modern web applications in Delphi. Under the hood, web3.pas is powered by ethers.js — a JavaScript library designed to enable developers to interact with the Ethereum blockchain and the larger Ethereum ecosystem. Ethers.js gets downloaded at runtime and as such you don’t need to install it. But you do need Delphi Community Edition and TMS Web Core. Last but not least, you need a browser-based crypto wallet. Please follow the below steps to install MetaMask into your web browser. Installation 1. Clone this repo to a directory of your choosing, for example C:\\Projects\\web3.pas 1. Launch Delphi and start a new TMS Web Core project via File New Other TMS Web TMS Web Application 1. Save your application to a directory of your choosing 1. Click on: Project Add to Project and add web3.pas (the unit, not the directory) to your project 1. Run your application (F9) 1. Navigate to https://metamask.io/ 1. Click on: Get MetaMask 1. Follow the instructions and install MetaMask into your web browser Configuration Before you can use web3.pas in your TMS Web Core project, you will need to manually add the following snippet to the section of your project's HTML document: Assuming you have added web3 to your uses clause, you can now call into a global singleton named Ethers : Connecting to Ethereum The very first thing needed to begin interacting wi","default_branch":null,"files":null,"tree":[],"storefront":"/r/svanas","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/svanas/web3.pas/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}