# Looking for sample Cadence code for transferring flow on emulator and testnet

**URL:** <https://forum.flow.com/t/looking-for-sample-cadence-code-for-transferring-flow-on-emulator-and-testnet/7524>\
**Category:** Uncategorized\
**Created:** [April 13, 2025, 9:51am UTC](https://forum.flow.com/t/looking-for-sample-cadence-code-for-transferring-flow-on-emulator-and-testnet/7524 "2025-04-13T09:51:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nexus7](https://avatars.discourse-cdn.com/v4/letter/n/977dab/32.png) [@Nexus7](https://forum.flow.com/u/Nexus7)\
**Post date:** [April 13, 2025, 9:51am UTC](https://forum.flow.com/t/looking-for-sample-cadence-code-for-transferring-flow-on-emulator-and-testnet/7524/1 "2025-04-13T09:51:02Z")

</div>

Hi,

I am looking for sample cadence and JS code to transfer FLOW tokens from one account to another. Ideally I can test this on both the local emulator and testnet before using it on mainnet. I am having problems with the code samples that are out there as I think most of them are using an outdated version of cadence?

Thanks  
N

---

<div class="post-metadata">

**Author:** ![Nexus7](https://avatars.discourse-cdn.com/v4/letter/n/977dab/32.png) [@Nexus7](https://forum.flow.com/u/Nexus7)\
**Post date:** [April 13, 2025, 4:00pm UTC](https://forum.flow.com/t/looking-for-sample-cadence-code-for-transferring-flow-on-emulator-and-testnet/7524/2 "2025-04-13T16:00:57Z")

</div>

Should I be getting DMs from users like @Charles02 taking me to external links to address this issue?

---

<div class="post-metadata">

**Author:** ![Flow\_Dev](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.flow.com/flow_dev/32/1640_2.png) [@Flow\_Dev](https://forum.flow.com/u/Flow_Dev)\
**Post date:** [April 13, 2025, 5:37pm UTC](https://forum.flow.com/t/looking-for-sample-cadence-code-for-transferring-flow-on-emulator-and-testnet/7524/3 "2025-04-13T17:37:07Z")

</div>

Hello @Nexus7  
Yes he can attend to you if you are able to get a hold of him.
