# How to transfer cycles to Plug from dfx wallet?

**URL:** <https://forum.dfinity.org/t/how-to-transfer-cycles-to-plug-from-dfx-wallet/6779>\
**Category:** Command Line Tools\
**Created:** [August 29, 2021, 9:50am UTC](https://forum.dfinity.org/t/how-to-transfer-cycles-to-plug-from-dfx-wallet/6779 "2021-08-29T09:50:34Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![cyaolong](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/cyaolong/32/2303_2.png) [@cyaolong](https://forum.dfinity.org/u/cyaolong)\
**Post date:** [August 29, 2021, 9:50am UTC](https://forum.dfinity.org/t/how-to-transfer-cycles-to-plug-from-dfx-wallet/6779/1 "2021-08-29T09:50:34Z")

</div>

I have created a principal id by CLI and got cycles from the faucet. How can I transfer them to my Plug wallet? I can’t find any commands. Furthermore, why I can’t see any balance of my principal id on ic.rocks?

---

<div class="post-metadata">

**Author:** ![goose](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/goose/32/6164_2.png) [@goose](https://forum.dfinity.org/u/goose)\
**Post date:** [September 27, 2021, 5:03am UTC](https://forum.dfinity.org/t/how-to-transfer-cycles-to-plug-from-dfx-wallet/6779/2 "2021-09-27T05:03:43Z")

</div>

dfx canister --network=ic --wallet=$(dfx identity --network=ic get-wallet) call --with-cycles 100000 aanaa-xaaaa-aaaah-aaeiq-cai mint ‘(principal “id from plug”)’  
100000 for your own amount

---

<div class="post-metadata">

**Author:** ![successaje](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/successaje/32/7924_2.png) [@successaje](https://forum.dfinity.org/u/successaje)\
**Post date:** [November 16, 2023, 7:19am UTC](https://forum.dfinity.org/t/how-to-transfer-cycles-to-plug-from-dfx-wallet/6779/3 "2023-11-16T07:19:03Z")

</div>

WHat if i want to fund the dfx wallet with cycles from plug, do i just need to transfer icp to the dfx wallet principal id??

---

<div class="post-metadata">

**Author:** ![Vivienne](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/vivienne/32/29170_2.png) [@Vivienne](https://forum.dfinity.org/u/Vivienne)\
**Post date:** [November 16, 2023, 12:28pm UTC](https://forum.dfinity.org/t/how-to-transfer-cycles-to-plug-from-dfx-wallet/6779/4 "2023-11-16T12:28:01Z")

</div>

Transfer your ICP to your dfx identity (`dfx ledger account-id`), and then `dfx ledger top-up $(dfx identity get-wallet)`

---

<div class="post-metadata">

**Author:** ![successaje](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/successaje/32/7924_2.png) [@successaje](https://forum.dfinity.org/u/successaje)\
**Post date:** [December 1, 2023, 4:40pm UTC](https://forum.dfinity.org/t/how-to-transfer-cycles-to-plug-from-dfx-wallet/6779/5 "2023-12-01T16:40:13Z")

</div>

I tried the commands a while back and it worked perfectly well, but recently i tried retrieving my ledger balance and i get the error  
`Error: The replica returned a replica error: reject code DestinationInvalid, reject message IC0301: Canister ryjl3-tyaaa-aaaaa-aaaba-cai not found, error code Some("IC0301")`

if i run the comand you posted i get a similar error

````Waiting
Sending duplicate transaction
Waiting to retry after error: ReplicaError(RejectResponse { reject_code: DestinationInvalid, reject_message: "Canister ryjl3-tyaaa-aaaaa-aaaba-cai not found", error_code: Some("IC0301") })```

What am I possibly doing wrong?
````

---

<div class="post-metadata">

**Author:** ![Vivienne](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/vivienne/32/29170_2.png) [@Vivienne](https://forum.dfinity.org/u/Vivienne)\
**Post date:** [December 4, 2023, 8:50am UTC](https://forum.dfinity.org/t/how-to-transfer-cycles-to-plug-from-dfx-wallet/6779/6 "2023-12-04T08:50:22Z")

</div>

Are you targeting the wrong network?

---

<div class="post-metadata">

**Author:** ![successaje](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/successaje/32/7924_2.png) [@successaje](https://forum.dfinity.org/u/successaje)\
**Post date:** [December 4, 2023, 9:35am UTC](https://forum.dfinity.org/t/how-to-transfer-cycles-to-plug-from-dfx-wallet/6779/7 "2023-12-04T09:35:42Z")

</div>

I think so, i forgot to add the network to the command,  
So it basically works now, thanks.
