首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏汇智网教程

    如何在.NET应用中访问以太坊智能合约【Nethereum

    Nethereum基本上是目前唯一可用的.NET平台下的web3.js移植包。 在这个教程中,我们将首先编写并部署一个简单的智能合约,然后创建一个简单的.NET应用,并使用Nethereum来访问以太坊上的智能合约。 Nethereum是通过以太坊节点旳标准RPC接口访问智能合约,因此使用Nethereum可以对接所有的以太坊节点实现,例如geth或parity。 ; using Nethereum.Contracts; using Nethereum.Hex.HexTypes; using Nethereum.Web3; namespace console 用Nethereum很容易就可以为.Net应用添加访问以太坊智能合约的能力,由于Nethereum基于.NET平台,因此它可以用于.NET Core应用、.NET Standard应用、Xamarin以及各种

    2.1K20发布于 2019-03-12
  • 来自专栏深入浅出区块链技术

    以太坊开发工具及资源大全

    水龙头: https://github.com/Nethereum/Nethereum.Faucet [69] Web3.js: https://learnblockchain.cn/docs/web3 : https://github.com/Nethereum/ [82] dfuse: https://github.com/dfuse-io/client-js [83] dfuse Ethereum /TestChains [113] Blazor /区块链资源管理器: https://github.com/Nethereum/NethereumBlazor [114] 本地雷电网络: https: /Unity3dSimpleSample [249] Flappy: https://github.com/Nethereum/Nethereum.Flappy [250] Wonka: https:/ /Nethereum.DappHybrid [297] Nethereum.UI.Desktop: https://github.com/Nethereum/Nethereum.UI.Desktop [

    3.4K10发布于 2021-01-28
  • 来自专栏极客编程

    以太坊区块链 Asp.Net Core的安全API设计 (下)

    为此,你需要安装Nethereum.Web3 NuGet包。Nethereum是以太坊的.Net实现。 Authenticate(LoginVM login) { UserVM user = null; var client = new RpcClient(new Uri(_config["Nethereum private async Task<UserVM> Authenticate2(LoginVM login) { UserVM user = null; var signer = new Nethereum.Signer.MessageSigner MessageSigner.EcRecover是Nethereum提供的离线功能。 缺点: 你需要处理web3.personal.sign实现才能正确恢复帐户。

    1.5K30发布于 2018-12-06
  • 来自专栏深入浅出区块链技术

    每周以太坊进展2022/6/25

    Nethereum v4.6.1[27] (.Net 库): MetaMask nuget 包, Humanity 的证明集成 安全 以太坊和 Harmony 之间的 Horizon 桥1 亿美元的漏洞 ://github.com/nicolasgarcia214/damn-vulnerable-defi-foundry#readme [27] v4.6.1: https://github.com/Nethereum /Nethereum/releases/tag/4.6.1 [28] 1亿美元的漏洞: https://rekt.news/harmony-rekt/ [29] DeFi Saver: https:

    43140编辑于 2022-11-07
  • 来自专栏深入浅出区块链技术

    每周以太坊进展 2022/10/29

    : EVM 模块化算法扩展 开发者资料 Foundry: 如何添加作弊代码指南[25] (在一条 tweet 中) ERC4626 (代币金库) 所有权测试[26], 用 Foundry 检查一致性 Nethereum https://a16zcrypto.com/generalized-property-tests-for-erc4626-vaults/ [27] v4.11.0: https://github.com/Nethereum /Nethereum/releases/tag/4.11.0 [28] Distribute合约 gas优化(CTF解决方案): https://mirror.xyz/vicnaum.eth/gZPBJoJm4Ne3eXhxR-x7bbh8oFLnJ2JyVzczq2n9H8M

    54010编辑于 2023-01-09
  • 来自专栏Urlteam

    2022-区块链开发工具库

    faucet Kovan faucet Ropsten faucet (MetaMask) Ropsten faucet (rpanic) Goerli faucet Universal faucet Nethereum.Faucet Nethereum - 跨平台以太坊开发框架 dfuse - 一个使用dfuse Ethereum API的 TypeScript 库 Drizzle - 将前端连接到区块链的 Redux 库 Tasit 后端以太坊 API Web3.py - Python Web3 Web3.php - PHP Web3 Ethereum-php - PHP Web3 Web3j - Java Web3 nethereum Nethereum-CodeGenerator - 一个基于 Web 的生成器,它基于 Solidity 智能合约创建基于 Nethereum 的 C# 接口和服务。

    2.4K20编辑于 2022-04-02
  • 来自专栏极客编程

    .netcore如何开发以太坊区块链示例 原

    首先将这些依赖项添加到Project.json中: "Nethereum.Web3": "2.0.0-rc1", "Portable.BouncyCastle": "1.8.1.1", Nethereum.Web3是通过RPC json访问本地Geth进程的完整类库。BouncyCastle是Nethereum所需的加密库。 首先,我们需要一个模型来捕获我们的以太坊合约状态。 IEthereumService接口,这样我们就可以将它用于依赖注入: using System.Threading.Tasks; using EthereumStart.Models; using Nethereum.Contracts ; using System; using System.Threading.Tasks; using EthereumStart.Models; using Nethereum.Contracts; EthereumStart.Services { public class BasicEthereumService : IEthereumService { private Nethereum.Web3

    1.6K31发布于 2018-10-26
  • 来自专栏深入浅出区块链技术

    每周以太坊进展2022/4/16

    GitHub 组织中 Unimock[34]:根据需要对特定调用作出回应的合约 Hot-chain-svg[35]: 链上 SVG 工具包、热重载、可视化测试和库 NFT gas 优化[36] 指南 Nethereum /@WallStFam/the-ultimate-guide-to-nft-gas-optimization-7e9289e2d88f [37] v4.3.0: https://github.com/Nethereum /Nethereum/releases/tag/4.3.0 [38] v1.0: https://medium.com/truefieng/usedapp-1-0-released-4ee60a94fb06

    60110编辑于 2022-05-25
  • 来自专栏申龙斌的程序人生

    用NBitcoin进行区块链开发(7):助记词

    Jaxx钱包显示私钥的结果 ETH的私钥和地址的编码方式与BTC的不一样,在NBitcoin中当然无法显示以太坊的东西,需要使用Nethereum的类库,请自行从nuget里安装即可。 extkey = hdroot.Derive(new KeyPath("m/44'/60'/0'/0/0")); var eth1 = new Nethereum.Signer.EthECKey(extkey.PrivateKey.ToBytes (eth1.GetPublicAddress()); extkey = hdroot.Derive(new KeyPath("m/44'/60'/0'/0/1")); var eth2 = new Nethereum.Signer.EthECKey

    2.4K20发布于 2019-03-07
  • 来自专栏深入浅出区块链技术

    每周以太坊进展 2022/8/27

    开发网络[45](Prysm+Geth) Truffle v5.5.28[46] : Truffle Dashboard 更快,夜间模式 titanoboa(Vyper 解释器)用户可定义的预编译[47] Nethereum 用户可定义的预编译: https://twitter.com/big_tech_sux/status/1562931931423309828 [48] v4.8.0: https://github.com/Nethereum /Nethereum/releases/tag/4.8.0 [49] CFMM 套利: https://noxx.substack.com/p/dex-arbitrage-mathematical-optimisations

    54750编辑于 2022-11-07
  • 来自专栏深入浅出区块链技术

    每周以太坊进展2022/7/23

    Berg 的 Foundry 模板[31],包含 PRBTest, Forge Std, Solhint, Prettier, GitHub Actions 和 Conventional Commits Nethereum 31] Foundry 模板: https://github.com/paulrberg/foundry-template#readme [32] v4.7.0: https://github.com/Nethereum /Nethereum/releases/tag/4.7.0 [33] Gas 分析工具: https://blog.tenderly.co/how-to-reduce-smart-contract-gas-usage

    55550编辑于 2022-11-07
  • 来自专栏token的技术分享

    Blazor资源大全,很棒的Blazor(1)

    Nethereum Playground[160] - 在浏览器上编译和运行Nethereum代码片段。您可以在这里运行它:http://playground.nethereum.com/。 演示: https://kristofferstrube.github.io/Blazor.SVGEditor/ [142] NethereumBlazor: https://github.com/Nethereum https://github.com/SimonCropp/WaffleGenerator [159] 演示: http://wafflegen.azurewebsites.net/ [160] Nethereum Playground: https://github.com/Nethereum/Nethereum.Playground [161] TypinExamples: https://github.com

    3.1K50编辑于 2023-10-13
  • 来自专栏汇智网教程

    收藏贴 :2019年必备43种区块链开发工具 原

    官网:https://github.com/ethereumjs/ethereumjs-vm 15、Nethereum Nethereum是一个开源的用于集成区块链支持的.Net开发库,它简化了在.Net 官网:https://nethereum.com 教程:c#以太坊开发详解 16、JSON RPC API JSON RPC API是无状态、轻量级的远程过程调用(RPC)协议,它定义了若干数据结果以及相关的处理规则

    2.1K50发布于 2019-05-14
  • 来自专栏汇智网教程

    以太坊应用开发接口:JSON RPC API

    以太坊Dapp开发入门 php:Web3.php, 教程:php以太坊开发详解 python:Web3.py,教程:python以太坊开发详解 java:Web3j,教程:Web3j以太坊开发详解 c#:Nethereum

    1.8K30发布于 2019-03-12
  • 来自专栏区块链大本营

    详解以太坊虚拟机(EVM)的数据存储机制

    可以使用任何语言打包程序(例如nethereum或web3j)来调用此RPC api。 下图(图1)显示了如何对智能合约的地址和传递给它的位置值进行GetStorageAt调用。

    1.6K20编辑于 2023-03-31
  • npm 上的虚假 WhatsApp API 包可窃取消息、联系人和登录令牌

    恶意 NuGet 包瞄准加密生态系统#此次披露正值 ReversingLabs分享了14 个恶意 NuGet 包的详细信息之际,这些包冒充 Nethereum(一个用于以太坊去中心化区块链的 .NET

    17910编辑于 2025-12-25
  • 来自专栏区块链与Web3.0

    Solidity开发智能合约

    好处包括小巧的构造和全类型的安全性,包括与合同进行交互时的安全性Nethereum - 跨平台的以太坊开发框架Tasit SDK - 一个React Native库,使用在移动端与以太坊进行交互Delphereum eth->eth_protocolVersion() ->val();}catch (\Exception $exception) { die("Unable to connect.");}其它Nethereum

    71310编辑于 2024-07-28
  • 来自专栏区块链大本营

    《以太坊攻略》,小白如何逆袭成为技术大咖?要学的全在这里了

    Backend Ethereum APIs(后端以太坊API) Web3.py- Python Web3 Web3.php - PHP Web3 Web3j - Java Web3 Nethereum

    2.3K31发布于 2018-09-21
  • 来自专栏全栈程序员必看

    一系列令人敬畏的.NET核心库,工具,框架和软件[通俗易懂]

    Nethereum – 将以太坊的爱带到.NET。

    22.4K30编辑于 2022-09-13
领券