您的USDC正在按昨天的利率产生收益Quicknode 会自动将其转移到今日最佳的 Morpho 保险库中。已在 7 条链上上线。
制定您的策略Quicknode, Ethereum and Delphi
Setting up and managing a blockchain node is a difficult, time- and resource-consuming task... Here’s how to plug your free Quicknode endpoint in Delphi code 👉

March 16, 2020 — 2 min read

While Infura is an awesome gateway to Ethereum, when you have a high-traffic decentralized application then you might have a need for maximum performance, non-funnelled access to the blockchain.
Yes you can run your own Ethereum node, but setting up and managing a blockchain node is a difficult, time- and resource-consuming task. Not to mention that it is your responsibility to keep your node up to date with node and network upgrades.
Quicknode is a so-called remote node service that gives you all the power of a full-node without running one yourself. They have a free plan for developers, and if your decentralized application is ready to scale up, they have membership plans for up to 10 million requests/day. This can make a world of difference in the way your decentralized application feels for your users.
Let’s create a free account and obtain a complimentary endpoint to the Ethereum blockchain. Go to the Quicknode website and sign up. After signing up and signing in, you are greeted by your complimentary node:

Your node comes with the following JSON-RPC web3 provider over HTTPS:
https://<your-node-name>.quicknode.pro/<your-token>/
Now let's plug your HTTPS endpoint into Delphi code. Launch Delphi, and then start a new project. Please make sure Delphereum and the dependencies are in your search path. Copy and paste the code example from GitHub Gist here.
Please note that you will need to replace <your-node-name> 和 <your-token>in the example above.
The example above breaks down to this. After we have created a new instance of the Delphereum client, we will then call a function named web3.eth.blockNumber(). Because calls to the Delphereum library are asynchronous, the web3.eth.blockNumber function expects a so-called promise. Inside this promise, we get the number of the most recent block and prompt that number in a message box. Please note that we need to synchronise the execution state with the main thread, and that is what TThread.Synchronizedoes for us.
Congratulations! You have successfully connected your Delphi application to the Ethereum blockchain via Quicknode.

项目需要帮助或有疑问吗?请通过此表单、TwitterQuicknode 或在Discord 上联系我们!
Quicknode 成立于 2017 年,Quicknode 为开发者和企业Quicknode 机构级区块链基础设施。凭借 99.99% 的运行时间以及对 80 多条区块链的支持,各团队能够毫无妥协地构建和扩展链上应用。
将最新的工程见解、产品更新和 Web3 资讯直接发送至您的收件箱。
通过 SOC 2 II 类认证 · ISO 27001