# Rust

**URL:** https://forum.dfinity.org/c/developers/rust/30.md

[Latest](https://forum.dfinity.org/latest.md) · [Categories](https://forum.dfinity.org/categories.md) · [Tags](https://forum.dfinity.org/tags.md)

---

## [About the Rust category](https://forum.dfinity.org/t/about-the-rust-category/9486)

<div class="topic-metadata">

**Author:** [@anon74414410](https://forum.dfinity.org/u/anon74414410)\
**Replies:** 0

</div>

This is a topic to help people tag and identify discussions about Rust development. Between the Rust Canister Development Kit, the Rust agent, or general Rust-related questions

---

## [New Libraries ic-rig + ic-hnsw — LLM apps and vector search for the Internet Computer](https://forum.dfinity.org/t/new-libraries-ic-rig-ic-hnsw-llm-apps-and-vector-search-for-the-internet-computer/75349)

<div class="topic-metadata">

**Author:** [@Zedonboy](https://forum.dfinity.org/u/Zedonboy)\
**Replies:** 0\
**Last updated:** [August 27, 2026, 6:04pm UTC](https://forum.dfinity.org/t/new-libraries-ic-rig-ic-hnsw-llm-apps-and-vector-search-for-the-internet-computer/75349 "2026-08-27T18:04:59Z")

</div>

Hey all :waving\_hand: Shipped two crates this week that pair well if you’re building anything RAG/embeddings-shaped on ICP, so figured I’d post them together rather than spam two threads. ic-rig — bring-your-own-HTTP-c…

---

## [Questions on confidential (SEV-SNP) subnets](https://forum.dfinity.org/t/questions-on-confidential-sev-snp-subnets/75232)

<div class="topic-metadata">

**Author:** [@mf4epic](https://forum.dfinity.org/u/mf4epic)\
**Replies:** 0\
**Last updated:** [August 21, 2026, 4:29pm UTC](https://forum.dfinity.org/t/questions-on-confidential-sev-snp-subnets/75232 "2026-08-21T16:29:36Z")

</div>

Context: we are building a vault canister that runs a full Mimblewimble wallet (Epic Cash) inside a canister, and we intend to deploy it on the confidential subnet re2t4. Every replica necessarily holds the whole wallet …

---

## [Is there a CLI to create a new canister with boilerplate](https://forum.dfinity.org/t/is-there-a-cli-to-create-a-new-canister-with-boilerplate/74987)

<div class="topic-metadata">

**Author:** [@jd\_wanyu](https://forum.dfinity.org/u/jd_wanyu)\
**Replies:** 2\
**Last updated:** [August 10, 2026, 8:22pm UTC](https://forum.dfinity.org/t/is-there-a-cli-to-create-a-new-canister-with-boilerplate/74987 "2026-08-10T20:22:15Z")

</div>

i am new to ICP , i have created my first small counter project in Rust and React js , i am struggling to create a third canister. now i have backend and frontend. is it possible to create third canister in parent folde…

---

## [Ic-sqlite-vfs: SQLite without WASI dependencies](https://forum.dfinity.org/t/ic-sqlite-vfs-sqlite-without-wasi-dependencies/72955)

<div class="topic-metadata">

**Author:** [@hude](https://forum.dfinity.org/u/hude)\
**Replies:** 5\
**Last updated:** [June 30, 2026, 5:40pm UTC](https://forum.dfinity.org/t/ic-sqlite-vfs-sqlite-without-wasi-dependencies/72955 "2026-06-30T17:40:14Z")

</div>

SQLite is a killer use case for the Internet Computer. ic-rusqlite is an excellent library, but its current design assumes WASI / wasi2ic, which makes it harder to integrate directly into the wasm32-unknown-unknown cani…

---

## [Increase stake from the canister](https://forum.dfinity.org/t/increase-stake-from-the-canister/69857)

<div class="topic-metadata">

**Author:** [@VictoriaGrasshopper](https://forum.dfinity.org/u/VictoriaGrasshopper)\
**Replies:** 2\
**Last updated:** [May 26, 2026, 1:35pm UTC](https://forum.dfinity.org/t/increase-stake-from-the-canister/69857 "2026-05-26T13:35:35Z")

</div>

Hello everyone, I am working on a canister that needs to increase the stake of an existing NNS neuron. Initially, I thought simply transferring the ICP from my canister to the neuron’s unique subaccount address would b…

---

## [CkUSDC to USD for web3 app](https://forum.dfinity.org/t/ckusdc-to-usd-for-web3-app/69618)

<div class="topic-metadata">

**Author:** [@nizzy](https://forum.dfinity.org/u/nizzy)\
**Replies:** 3\
**Last updated:** [May 24, 2026, 8:00pm UTC](https://forum.dfinity.org/t/ckusdc-to-usd-for-web3-app/69618 "2026-05-24T20:00:36Z")

</div>

Anyone have any ideas for a way to move ckUSDC into USD at a very fast rate looking to build an app but some of the off chain services that will be tired in would need some of the funds that are moved in escrow. I’m hav…

---

## [ICP Decentralized Hosting](https://forum.dfinity.org/t/icp-decentralized-hosting/69699)

<div class="topic-metadata">

**Author:** [@prasangapokharel](https://forum.dfinity.org/u/prasangapokharel)\
**Replies:** 3\
**Last updated:** [May 22, 2026, 7:43pm UTC](https://forum.dfinity.org/t/icp-decentralized-hosting/69699 "2026-05-22T19:43:42Z")

</div>

I am building decentralized hosting in the icp

---

## [QUESTION: If an SNS controlled canister is panicking during \`pre\_upgrade\`, what is the prescribed way to recover that canister?](https://forum.dfinity.org/t/question-if-an-sns-controlled-canister-is-panicking-during-pre-upgrade-what-is-the-prescribed-way-to-recover-that-canister/69494)

<div class="topic-metadata">

**Author:** [@saikatdas0790](https://forum.dfinity.org/u/saikatdas0790)\
**Replies:** 4\
**Last updated:** [May 21, 2026, 10:51am UTC](https://forum.dfinity.org/t/question-if-an-sns-controlled-canister-is-panicking-during-pre-upgrade-what-is-the-prescribed-way-to-recover-that-canister/69494 "2026-05-21T10:51:59Z")

</div>

I am trying to find the least disruptive option. Things I’ve tried and was hoping would work in 2026: Have a parameter of some sort for the SNS Upgrade Proposal which lets us skip the pre\_upgrade Have a parameter of s…

---

## [What are some unique strategies to prevent Cycle Drainage Attacks on ICP canisters?](https://forum.dfinity.org/t/what-are-some-unique-strategies-to-prevent-cycle-drainage-attacks-on-icp-canisters/41461)

<div class="topic-metadata">

**Author:** [@jyotirmaygithub](https://forum.dfinity.org/u/jyotirmaygithub)\
**Replies:** 5\
**Last updated:** [May 16, 2026, 3:25pm UTC](https://forum.dfinity.org/t/what-are-some-unique-strategies-to-prevent-cycle-drainage-attacks-on-icp-canisters/41461 "2026-05-16T15:25:27Z")

</div>

"I’m building a DeFi application on the Internet Computer (ICP) and want to implement strong protection mechanisms against cycle drainage attacks. I’m already aware of common prevention methods such as: Rate limiting (…

---

## [New AOL project web3 access management](https://forum.dfinity.org/t/new-aol-project-web3-access-management/68255)

<div class="topic-metadata">

**Author:** [@HavenCTO](https://forum.dfinity.org/u/HavenCTO)\
**Replies:** 0\
**Last updated:** [May 3, 2026, 9:39pm UTC](https://forum.dfinity.org/t/new-aol-project-web3-access-management/68255 "2026-05-03T21:39:47Z")

</div>

Announcing Always Online (AOL): Native ICP Access Management Today we’re announcing Always Online (AOL), an ICP-native protocol for conditional, token-gated access using VetKD keys. AOL enables smart access patterns acro…

---

## [Which blockchain is best for an Augur clone?](https://forum.dfinity.org/t/which-blockchain-is-best-for-an-augur-clone/68109)

<div class="topic-metadata">

**Author:** [@aarong1990](https://forum.dfinity.org/u/aarong1990)\
**Replies:** 0\
**Last updated:** [April 30, 2026, 10:46am UTC](https://forum.dfinity.org/t/which-blockchain-is-best-for-an-augur-clone/68109 "2026-04-30T10:46:42Z")

</div>

The best blockchain for building an Augur clone depends on what you value most like cost, speed, and scalability, but in simple terms many developers still choose Ethereum because the original Augur was built on it and i…

---

## [Casino Platform](https://forum.dfinity.org/t/casino-platform/43143)

<div class="topic-metadata">

**Author:** [@Kaya](https://forum.dfinity.org/u/Kaya)\
**Replies:** 22\
**Last updated:** [April 19, 2026, 10:59pm UTC](https://forum.dfinity.org/t/casino-platform/43143 "2026-04-19T22:59:01Z")

</div>

Experienced ICP Developers & Web3 Specialists for Full Casino Platform Hello everyone, I’m looking for skilled developers and Web3 professionals to help build a fully functional online gambling platform based on the In…

---

## [Reverse gas model and cycles](https://forum.dfinity.org/t/reverse-gas-model-and-cycles/67034)

<div class="topic-metadata">

**Author:** [@w3coder](https://forum.dfinity.org/u/w3coder)\
**Replies:** 0\
**Last updated:** [April 6, 2026, 10:19am UTC](https://forum.dfinity.org/t/reverse-gas-model-and-cycles/67034 "2026-04-06T10:19:05Z")

</div>

How does one estimate the amount of cycled for a 1.Prototype RWA dApp 2.Production ready RWA dApp What happens when the canister runs out of cycles? What is the Total Cost of running an RWA dApp on ICP?

---

## [Solana prototype dApp to ICP](https://forum.dfinity.org/t/solana-prototype-dapp-to-icp/66981)

<div class="topic-metadata">

**Author:** [@w3coder](https://forum.dfinity.org/u/w3coder)\
**Replies:** 1\
**Last updated:** [April 5, 2026, 5:26pm UTC](https://forum.dfinity.org/t/solana-prototype-dapp-to-icp/66981 "2026-04-05T17:26:15Z")

</div>

I’m considering to refactor my RWA dApp prototype on Solana to ICP. Should I keep the smart contracts in Rust or use Maroko? What should I watch out for? Any tools? Guides,repos, codebase etc. What are the differences …

---

## [Seeking Feedback: A New Tool to Prevent Crypto Transfer Mistakes](https://forum.dfinity.org/t/seeking-feedback-a-new-tool-to-prevent-crypto-transfer-mistakes/64158)

<div class="topic-metadata">

**Author:** [@marco0808](https://forum.dfinity.org/u/marco0808)\
**Replies:** 1\
**Last updated:** [April 3, 2026, 3:12pm UTC](https://forum.dfinity.org/t/seeking-feedback-a-new-tool-to-prevent-crypto-transfer-mistakes/64158 "2026-04-03T15:12:05Z")

</div>

Hi everyone, I’m exploring the development of a tool called Crypto Transfer Guard, designed to help users prevent costly mistakes when sending cryptocurrency. Before building it, I’d love to hear your thoughts. The bas…

---

## [Solving crypto’s biggest problem — with ICP!](https://forum.dfinity.org/t/solving-crypto-s-biggest-problem-with-icp/65489)

<div class="topic-metadata">

**Author:** [@extremist](https://forum.dfinity.org/u/extremist)\
**Replies:** 9\
**Last updated:** [April 3, 2026, 1:18pm UTC](https://forum.dfinity.org/t/solving-crypto-s-biggest-problem-with-icp/65489 "2026-04-03T13:18:03Z")

</div>

Hey friends! I’m a big fan of Bitcoin and crypto in general. However, we have to admit it has several problems, and probably the main one is: all transactions on all blockchains are completely public. Every transfer, ev…

---

## [URGENT: Official securitybugs@dfinity.org email is bouncing / Critical Bug Report](https://forum.dfinity.org/t/urgent-official-securitybugs-dfinity-org-email-is-bouncing-critical-bug-report/65304)

<div class="topic-metadata">

**Author:** [@stepanko93](https://forum.dfinity.org/u/stepanko93)\
**Replies:** 1\
**Last updated:** [March 16, 2026, 3:46pm UTC](https://forum.dfinity.org/t/urgent-official-securitybugs-dfinity-org-email-is-bouncing-critical-bug-report/65304 "2026-03-16T15:46:06Z")

</div>

Hi DFINITY team, I am a security researcher. I have identified a CRITICAL logic vulnerability in one of your core official repositories (related to smart contract management/multisig access). I am trying to responsibly…

---

## [My proposal is to build a decentralized gambling game like HustleBTC.com on the Internet Computer](https://forum.dfinity.org/t/my-proposal-is-to-build-a-decentralized-gambling-game-like-hustlebtc-com-on-the-internet-computer/65233)

<div class="topic-metadata">

**Author:** [@NewClear](https://forum.dfinity.org/u/NewClear)\
**Replies:** 0\
**Last updated:** [March 12, 2026, 11:59am UTC](https://forum.dfinity.org/t/my-proposal-is-to-build-a-decentralized-gambling-game-like-hustlebtc-com-on-the-internet-computer/65233 "2026-03-12T11:59:14Z")

</div>

As we know, DeFi, NFTs, and crypto gaming ecosystems are among the strongest drivers of liquidity and user engagement in the blockchain industry today. These sectors have consistently demonstrated their ability to attrac…

---

## [Ic-dbms 0.6 - What's New Since Launch](https://forum.dfinity.org/t/ic-dbms-0-6-whats-new-since-launch/65051)

<div class="topic-metadata">

**Author:** [@veeso](https://forum.dfinity.org/u/veeso)\
**Replies:** 2\
**Last updated:** [March 3, 2026, 1:36pm UTC](https://forum.dfinity.org/t/ic-dbms-0-6-whats-new-since-launch/65051 "2026-03-03T13:36:54Z")

</div>

Hello everyone, I’m the author of ic-dbms, an open-source Rust framework for building relational databases inside Internet Computer canisters. I released 0.1 Back in December with the core (CRUD, transactions, foreign …

---

## [I have an application and idea that can go viral on the ICP chain, I need your financial and spiritual support, if it succeeds, we will be better together](https://forum.dfinity.org/t/i-have-an-application-and-idea-that-can-go-viral-on-the-icp-chain-i-need-your-financial-and-spiritual-support-if-it-succeeds-we-will-be-better-together/64596)

<div class="topic-metadata">

**Author:** [@GritBounty](https://forum.dfinity.org/u/GritBounty)\
**Replies:** 2\
**Last updated:** [February 24, 2026, 8:29pm UTC](https://forum.dfinity.org/t/i-have-an-application-and-idea-that-can-go-viral-on-the-icp-chain-i-need-your-financial-and-spiritual-support-if-it-succeeds-we-will-be-better-together/64596 "2026-02-24T20:29:04Z")

</div>

My current idea is to use caffeine AI to create a program supported by a trust mechanism, which will consist of three parts: task publishers, the program, and warriors. The whole theme is set around persistence. The gen…

---

## [Admin panel Not working Caffeine.ai](https://forum.dfinity.org/t/admin-panel-not-working-caffeine-ai/64585)

<div class="topic-metadata">

**Author:** [@itsbalaji11](https://forum.dfinity.org/u/itsbalaji11)\
**Replies:** 3\
**Last updated:** [February 24, 2026, 10:49am UTC](https://forum.dfinity.org/t/admin-panel-not-working-caffeine-ai/64585 "2026-02-24T10:49:09Z")

</div>

I created a website using caffeine.ai. Sometimes the admin panel comes up, but the sentences don’t come up. I don’t know what the problem is. I’m not a computer science student. I’m a commerce student. Can someone tell m…

---

## [Hiring - IC Developer for Consumer Fintech App - Patent-Pending Architecture](https://forum.dfinity.org/t/hiring-ic-developer-for-consumer-fintech-app-patent-pending-architecture/63650)

<div class="topic-metadata">

**Author:** [@homebisquit](https://forum.dfinity.org/u/homebisquit)\
**Replies:** 0\
**Last updated:** [January 31, 2026, 4:03pm UTC](https://forum.dfinity.org/t/hiring-ic-developer-for-consumer-fintech-app-patent-pending-architecture/63650 "2026-01-31T16:03:27Z")

</div>

IC Developer for Consumer Fintech App - Patent-Pending Architecture Looking for an experienced IC developer (Motoko or Rust) to implement a consumer-facing financial application with a well-documented architecture. Our …

---

## [ICP swap lost all funds.... out of the blue](https://forum.dfinity.org/t/icp-swap-lost-all-funds-out-of-the-blue/63399)

<div class="topic-metadata">

**Author:** [@RazerAwoken](https://forum.dfinity.org/u/RazerAwoken)\
**Replies:** 3\
**Last updated:** [January 28, 2026, 12:54pm UTC](https://forum.dfinity.org/t/icp-swap-lost-all-funds-out-of-the-blue/63399 "2026-01-28T12:54:08Z")

</div>

Hello there, So what happened is as followed: I always logged in ICP swap with my 1.0 account. I literally was offshore for a while and I did not want to move over to 2.0, upgrades and such; I am terrified of such thing…

---

## [Introducing a Deterministic, Audit-Ready Treasury Reporting MVP for DAOs](https://forum.dfinity.org/t/introducing-a-deterministic-audit-ready-treasury-reporting-mvp-for-daos/63296)

<div class="topic-metadata">

**Author:** [@marco0808](https://forum.dfinity.org/u/marco0808)\
**Replies:** 0\
**Last updated:** [January 26, 2026, 3:10pm UTC](https://forum.dfinity.org/t/introducing-a-deterministic-audit-ready-treasury-reporting-mvp-for-daos/63296 "2026-01-26T15:10:18Z")

</div>

Hello Dfinity community, I’d like to introduce an MVP I recently built for DAO and treasury on-chain reporting, designed with a strong focus on deterministic calculations, transparency, and reproducibility. As the Inte…

---

## [Introducing bity\_ic\_icrc3: A Complete ICRC3 Implementation for Internet Computer Developers](https://forum.dfinity.org/t/introducing-bity-ic-icrc3-a-complete-icrc3-implementation-for-internet-computer-developers/44520)

<div class="topic-metadata">

**Author:** [@Gwojda](https://forum.dfinity.org/u/Gwojda)\
**Replies:** 5\
**Last updated:** [January 21, 2026, 8:21am UTC](https://forum.dfinity.org/t/introducing-bity-ic-icrc3-a-complete-icrc3-implementation-for-internet-computer-developers/44520 "2026-01-21T08:21:09Z")

</div>

Hello Internet Computer Community! :waving\_hand: We’re excited to share bity\_ic\_icrc3, our open-source implementation of the ICRC3 transaction standard for the Internet Computer. We’re developing this library with the g…

---

## [Canic 0.9 - Auth Refactor & Delegated Certificates](https://forum.dfinity.org/t/canic-0-9-auth-refactor-delegated-certificates/63053)

<div class="topic-metadata">

**Author:** [@borovan3](https://forum.dfinity.org/u/borovan3)\
**Replies:** 4\
**Last updated:** [January 21, 2026, 5:22am UTC](https://forum.dfinity.org/t/canic-0-9-auth-refactor-delegated-certificates/63053 "2026-01-21T05:22:38Z")

</div>

:rocket: Canic 0.9: Two Big Wins for Auth & Access Control We’ve been heads-down on Canic’s foundations, and with 0.9 we’re excited to share two changes that materially improve how auth and access control work — both i…

---

## [Dependency Conflict Between \`ic-cdk\` and \`sol\_rpc\_client\` When Using Non-Replicated Outcalls](https://forum.dfinity.org/t/dependency-conflict-between-ic-cdk-and-sol-rpc-client-when-using-non-replicated-outcalls/62468)

<div class="topic-metadata">

**Author:** [@Harshal0902](https://forum.dfinity.org/u/Harshal0902)\
**Replies:** 2\
**Last updated:** [January 16, 2026, 6:29pm UTC](https://forum.dfinity.org/t/dependency-conflict-between-ic-cdk-and-sol-rpc-client-when-using-non-replicated-outcalls/62468 "2026-01-16T18:29:41Z")

</div>

I want to use Non-Replicated Outcalls to make calls to different chain RPCs, as our project runs on a canister and supports multiple chains via their respective RPC endpoints. However, when I try to use the sol\_rpc\_clie…

---

## [New staked Icp not seen in my account](https://forum.dfinity.org/t/new-staked-icp-not-seen-in-my-account/62465)

<div class="topic-metadata">

**Author:** [@Steven1](https://forum.dfinity.org/u/Steven1)\
**Replies:** 15\
**Last updated:** [January 12, 2026, 7:36am UTC](https://forum.dfinity.org/t/new-staked-icp-not-seen-in-my-account/62465 "2026-01-12T07:36:57Z")

</div>

Hallo please help, I send 3 januari 2026 my 164.443 ICP to my excisting stake account, and afther a few days i ask for help and they told me it have to change to Neurons so wait? I did wait but stil today i only see my s…

---

## [\`.await\` in a #\[query\] function](https://forum.dfinity.org/t/await-in-a-query-function/62102)

<div class="topic-metadata">

**Author:** [@ranile](https://forum.dfinity.org/u/ranile)\
**Replies:** 3\
**Last updated:** [January 5, 2026, 12:55pm UTC](https://forum.dfinity.org/t/await-in-a-query-function/62102 "2026-01-05T12:55:02Z")

</div>

I’m integrating Turso database in my canister and it requires database calls to be async #\[query\] async fn query\_something() -\> Vec\<String\> { with\_connection(async |c| { Something::query\_all(&c).await })…

[Next page](https://forum.dfinity.org/c/developers/rust/30.md?page=1)
