找到约 13 条结果

文章 深入理解对称加密和非对称加密

... 我是guoshijiang , 欢迎大家关注我的 GitHub: https://github.com/guoshijiang

文章 如何部署TRUFFLE智能合约到以太坊主网(以宠物商店为例)

...发一个DAPP区块链应用(以宠物商店为例)](https://www.jianshu.com/p/9844d97ef1d0) 学习,大家掌握了一个DAPP的编程和以太坊私有测试环境调试,本文做进一步的技术深入学习。 **【本文目标】** (1)采用INFURA配置的方式把智能合约部署...

文章 docker 部署BSC v1.0.7-ht.3版本开发网

...官网:https://www.binance.org/cn - BSC链github地址:https://github.com/binance-chain/bsc/releases - 主网区块链浏览器:https://bscscan.com/ - 主网链官方部署文档::https://docs.binance.org/smart-chain/developer/fullnode.html - 手续费(gasprice):https://bscgas.info...

文章 蕴涵(Implication)运算符

...是 `assert` 或 `satisfy`: ```solidity Copy/// this rule will not compile rule mod_ifXLessThanY_resultIsX_usingIf() { uint256 x; uint256 y; mathint result = mod(x, y); if (x < y) { assert result == x; } } ``` ```plain CopyERROR : Failed to run Cer...

文章 使用wolfSSL进行RSA密钥分析

...进行解析,并显示密钥的参数:\[[here](https://asecuritysite.com/wolfcrypt/wolfssl_rsakey)\]: ``` ##include ##include ##include ##define RSA_KEY_SIZE 2048 static voic generate_rsa_key(RsaKey* pRsaKey, WC_RNG* rng) { int ret; int err = 1; printf("Generating RSA key\n"); /...

文章 Metamask Snaps:在沙盒中嬉戏

...强 Metamask 的功能。这些模块在 [Iframe](https://blog.logrocket.com/the-ultimate-guide-to-iframes/) 环境中执行,确保它们是隔离且安全的。为了方便执行,Metamask 利用 iFrame 沙盒机制,允许 snaps 在受控环境中运行。 #### 框架:Metamask-Extension Rep...

文章 宣布Trident Arena

...(https://www.bert.global/) | 1/2 | 1/2 | 1/2 | | [Dexalot](https://dexalot.com/) | 4/5 | 2/5 | 2/5 | | [Pump Science](https://pump.science/) | 1/2 | 1/2 | 0/2 | | [Metadao](https://www.metadao.fi/) | 3/3 | 1/3 | 1/3 | | [Watt](https://www.watt.si/) | 7/11 | 6/11 | 6/11 | | **总计:** | **21/30** ...

文章 Solidity 整型:uint与int

... unchecked 模式 | | **节省** | **112 gas** | **112 gas** | 约节省 0.26% | **Gas 指标说明**: - **Transaction Cost**:真实花费的 gas,对应区块链浏览器中的 `gas_used` - **Execution Cost**:纯粹函数执行所需的 gas,不包含交易基础费用(21,000 gas)和 c...

文章 又一经典的闪电贷套利 —— Wault.Finance 被黑事件分析

...击者资金进行封堵。 *参考攻击交易:* *https://bscscan.com/tx/0x31262f15a5b82999bf8d9d0f7e58dcb1656108e6031a2797b612216a95e1670e* 本文首发于:https://mp.weixin.qq.com/s/aFSnSDPk4RYlcKz6Qr_CmQ

文章 Rust Web 开发实战:构建教师管理 API

...ppState { health_check_response: "".to_string(), visit_count: Mutex::new(0), db: db_pool, }); let resp = get_all_teachers(app_state).await.unwrap(); assert_eq!(resp.status(), StatusCode::OK); } #[actix_rt::test] async...

文章 Rust 异步编程实践:从 Tokio 基础到阻塞任务处理模式

...in [!?] is 📦 0.1.0 via 🦀 1.88.0 ➜ cargo run --example tokio1 Compiling rust-ecosystem-learning v0.1.0 (/Users/qiaopengjun/Code/Rust/rust-ecosystem-learning) Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.88s Running `target/debug/examples/tokio1` hi number ...

文章 每周以太坊进展2022/3/5

...执行层) * 最新的核心开发者[视频会议](https://www.youtube.com/watch?v=ZKPElqIfteU&t=247s)。来自[Tim Beiko](https://twitter.com/timbeiko/status/1499865801687375877)的记录: * Kiln 下周启动公共测试网 * JSON RPC 讨论是否默认安全头或者最新区块 * 上...

文章 DeFi指南

...而,在过去的几年里,[去中心化金融或 DeFi](https://alchemy.com/defi?a=540fe46d54) 的兴起已经开始极大地改变银行和金融的世界,让全球各地的人们拥有比以往更多的选择。 DeFi 允许许多独特的机会,涵盖借贷、保险、保证金交易等...