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

    Time-locked Wallets:一个以太坊智能合约的教程

    原文:Time-locked Wallets: An Introduction to Ethereum Smart Contracts 作者:RADEK OSTROWSKI 正文 区块链及其应用如今从未像现在这样流行 这篇文章涵盖了什么内容: 时间锁定钱包(Time-locked Wallets)的应用 开发环境设置 使用松露框架进行智能合约开发 固体合约的说明 如何编译,迁移和测试智能合约 使用ÐApp与浏览器的智能合约交互 cd time-locked-wallets 重要的是要注意,该项目遵循标准松露项目结构,并且感兴趣的目录是: contracts:持有所有Solidity合约 migrations:包含描述迁移步骤的脚本 mapping(address => address[]) wallets; 在这里,我们定义一个mapping类型,它类似于字典或地图,但预设了所有可能的键并指向默认值。 为了总结我们的业务逻辑,我们定义了一个映射wallets,它由用户地址(契约创建者和所有者)组成,每个映射指向一组关联的钱包契约地址。

    3K20发布于 2018-09-19
  • 来自专栏NFT链游的应用

    应用:区块链钱包开发,交易平台系统搭建技术细节

    return &Wallet{Private: privateKey, PubKey: pubKey}}钱包集结构体//定一个 Wallets结构,它保存所有的wallet以及它的地址type Wallets struct { //map[地址]钱包 WalletsMap map[string]*Wallet}创建钱包集func NewWallets() *Wallets { var ws Wallets ws.WalletsMap = make(map[string]*Wallet) //加载本地钱包,把新建的钱包保存到本地 ws.loadFile() return & ws}创建钱包到钱包集func (ws *Wallets) CreateWallet() string { //创建一个钱包 wallet := NewWallet() address = nil { log.Panic(err) } ws.WalletsMap = wsLocal.WalletsMap}列出所有钱包的地址func (ws *Wallets)

    1.4K40编辑于 2022-06-15
  • 来自专栏云原生应用工坊

    chutes-miner 部署指南

    chutes-miner-cli 创建冷钱包和热钱包: btcli wallet new_coldkey --wallet.name shenlan --wallet.path ~/.bittensor/wallets \ --wallet.name shenlan \ --wallet.hotkey jkt-chutes-miner-gpu-0 \ --wallet.path ~/.bittensor/wallets \ --wallet.name shenlan \ --wallet.hotkey jkt-chutes-miner-gpu-0 \ --wallet.path ~/.bittensor/wallets 库存与节点管理 chutes-miner local-inventory --hotkey ~/.bittensor/wallets/shenlan/hotkeys/jkt-chutes-miner-gpu -0 chutes-miner remote-inventory --hotkey ~/.bittensor/wallets/shenlan/hotkeys/jkt-chutes-miner-gpu-0

    40111编辑于 2025-07-12
  • 来自专栏arxiv.org

    用于隐私和所有者保管的数字货币架构(CS)

    every transaction is registered by a bank or money services business, and it relies upon non-custodial wallets that it is possible to introduce regulation of digital currency transactions involving non-custodial wallets while still allowing non-custodial wallets that protect the privacy of end-users.

    70920发布于 2021-01-14
  • 来自专栏云计算运维

    如何形象地解释 JavaScript 中 map、foreach、reduce 间的区别?

    var wallets = people.map(function (dude) { return dude.wallet; }); reduce 就是你拿着钱包,一个一个数过去看里面有多少钱啊? var totalMoney = wallets.reduce(function (countedMoney, wallet) { return countedMoney + wallet.money 这样结束的时候你又有了一个新的数组,里面是所有钱多于 100 块的钱包: var fatWallets = wallets.filter(function (wallet) { return wallet.money

    1K10发布于 2021-08-26
  • 来自专栏区块链大本营

    编程小白模拟简易比特币系统,手把手带你写一波!(附代码) | 博文精选

    (new Message(RESPONSE_WALLET, wallets)); } 这里我把区块链的相关操作也封装到了一个service中,下面给出findAllWallets的具体实现,其实就是遍历钱包集合 ((address, wallet) ->{ wallets.add(Wallet.builder().publicKey(wallet.getPublicKey()).build()) ; }); otherWalletMap.forEach((address, wallet) ->{ wallets.add(wallet); }); return JSON.toJSONString(wallets); } 得到数据之后,返回给client: 因此我们的 responseWallets()方法中,最后一句话新建了一个message对象,并设置了信息码为 private void handleWalletResponse(String msg) { List<Wallet> wallets = "\"[]\"".equals(msg)?

    1.6K00发布于 2020-03-16
  • 来自专栏超级架构师

    区块链是未来吗? 或者它只是一种时尚?

    The wallets that currently exist are confusing and difficult to access. In order for wallets to be adopted on a large scale, a few things will need to happen: 1. However, current wallets are solely reserved for cryptocurrencies and transactions. And even though these wallets have a purpose, they still aren’t very user friendly. So, for wallets to become mainstream, they need to be as accessible as ApplePay.

    94750发布于 2018-04-09
  • 来自专栏用户9859085的专栏

    交易所系统开发案例说明丨数字货币交易所系统开发技术方案详情

    architecture,and can support million level concurrency based on hardware expansion;Separation of hot and cold wallets ,setting the threshold of hot wallets and physical isolation of cold wallets;Multi tier service scheduling

    1K10编辑于 2022-06-28
  • 来自专栏站长的编程笔记

    【说站】js中reduce在数组的使用

    数组中当前被处理的元素) - index (当前元素在数组中的索引) - array (调用 reduce 的数组) initialValue (作为第一次调用 callback 的第一个参数) 实例 var wallets  = [4,7.8,3] var totalMoney = wallets.reduce( function (countedMoney, wallet) {     return countedMoney

    1.4K20编辑于 2022-11-24
  • 来自专栏码农阿宇

    EF Core利用Transaction对数据进行回滚保护

    DbContextOptions<BankContext> options) : base(options) { } public DbSet<Wallet> Wallets [Route("bangk/InitData")] public string InitData() { if (_bankContext.Wallets.ToList Name = "B", Money = 100 }; _bankContext.Wallets.Add (AUser); _bankContext.Wallets.Add(BUser); _bankContext.SaveChanges();

    1.9K50发布于 2018-04-18
  • TAO Chutes Miner 最新部署完整指南(2025-K3S版)

    \_local\_kubeconfig: true controller\_kubeconfig: ~/.kube/chutes.config hotkey\_path: "~/.bittensor/wallets 5Dt7HZ7Zpw4DppPxFM7Ke3Cm7sDAWhsZXmM5ZAmE7dSVJbcQ \  --hourly-cost 1.2 \ --gpu-short-ref h100 \  --hotkey ~/.bittensor/wallets CONTROL\_IP]:32000验证通过后可通过remote-inventory 查看节点状态:chutes-miner remote-inventory --hotkey ~/.bittensor/wallets

    25710编辑于 2025-10-20
  • 来自专栏用户10653752的专栏

    BTY Ecosystem DNS's Ideas of DeSoc

    Today, account recovery methods such as social recovery wallets like Argent that allow you to rely on giving a set of wallet addresses, mostly falling into some combination of existing token holders and wallets Governance: DAO centered on community governance face the threat of Sybil attacks, where users have multiple wallets

    30620编辑于 2023-07-17
  • 来自专栏用户9868391的专栏

    数字货币多币种钱包系统开发说明,去中心化钱包系统开发分析原理

      Wallet is a tool to help users manage assets on the chain and read data.Wallets can be classified according and private key storage.Each dimension can be further subdivided.Different users can choose their own wallets

    93920编辑于 2022-07-02
  • 来自专栏Web技术学苑

    web3.js之以太坊交互

    const app = document.getElementById("app"); const walletList = app.querySelector(".wallet-list"); const wallets = []; for (const [key, value] of providers) { console.log(value, "value"); wallets.push(value); console.log(web3); // // now you can use web3 object with injected provider // } } console.log(wallets , "wallets"); wallets.forEach((wallet) => { const walletItem = document.createElement("div"); const

    50210编辑于 2025-02-12
  • 来自专栏华仔的技术笔记

    Polygon 升级与 EIP-7702 的引入的一个问题

    = new ethers.Wallet(privateKey); console.log('Address:', wallets.address); const nonce = await provider.getTransactionCount(wallets.address, 'latest') console.log('nonce:', nonce); // 交易参数 const tx = { type: 4, // EIP-7702 to: wallets.address, value: 0, data: ' = new ethers.Wallet(privateKey2); console.log('Address:', wallets.address); const fromAddress = wallets.address; // Owner 地址 const toAddress = wallet.address; // 替换为您希望接收 USDT 的地址 const amount

    57210编辑于 2025-08-20
  • 来自专栏企鹅号快讯

    糖果没吃到,结果把比特币给弄丢了

    其中有提到electrum钱包对比特黄金也是支持的(官方描述:We will publish guides for retrieving BTGfrom the most popular wallets , including Bitcoin Core, Electrum, Mycelium, hardware wallets, paper wallets, and more)。

    1.5K90发布于 2018-02-26
  • 来自专栏申龙斌的程序人生

    HD钱包【区块链生存训练】

    小结: HD钱包不是指硬钱包,而是分层确定性钱包 只备份主私钥就可以生成所有的子私钥 可以分层控制 参考资料: http://www.8btc.com/hd-wallets http://www.8btc.com /how-to-use-hd-wallets https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki https://github.com

    2.9K110发布于 2018-03-06
  • 来自专栏汇智网教程

    EOS docker开发环境

    block_net_limit": 1048576 } $ cleos --wallet-url http://wallet:5555 wallet list keys # We have not created any wallets yet, so this is the expected response Wallets: [] []

    96130发布于 2019-03-12
  • 来自专栏极客编程

    EOS区块链平台构建开发dapp环境的安装

    keosd: $ keosd 在运行于8900端口的应用软件服务上试试HTTP Request: $ curl -k -v ‘http://127.0.0.1:8900/v1/wallet/list_wallets 127.0.0.1… * TCP_NODELAY set * Connected to 127.0.0.1 (127.0.0.1) port 8900 (#0) > GET /v1/wallet/list_wallets Content-type: application/json < Server: WebSocket++/0.7.0 < [] 或者使用cleos命令运行: $ cleos wallet list Wallets

    1.6K10发布于 2018-09-04
  • 来自专栏本体研究院

    本体技术视点 | 数字凭证钱包如何“双赢”?既保护隐私又证明身份(上)

    本期技术视点邀您聚焦“数字凭证钱包”(Digital Credential Wallets),让小小的应用程序帮我们在生活中省却不少麻烦,只需展示最少量的信息,便能在面对交警、参加会议、进入场馆等众多生活场景中一路绿灯 ---- 引 言 随着我们生活中越来越多的实体凭证以数字凭证的形式呈现,数字凭证钱包(Digital Credential Wallets)变得越来越普遍。 为了达到上述目的,要将数字凭证储存在所谓的数字凭证钱包(Digital Credential Wallets)当中。

    57240发布于 2020-11-06
领券