# Need some guide for development on some of the topics

**URL:** <https://forum.dfinity.org/t/need-some-guide-for-development-on-some-of-the-topics/13880>\
**Category:** Developers\
**Created:** [June 18, 2022, 11:26am UTC](https://forum.dfinity.org/t/need-some-guide-for-development-on-some-of-the-topics/13880 "2022-06-18T11:26:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pramitgaha](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/pramitgaha/32/11659_2.png) [@pramitgaha](https://forum.dfinity.org/u/pramitgaha)\
**Post date:** [June 18, 2022, 11:26am UTC](https://forum.dfinity.org/t/need-some-guide-for-development-on-some-of-the-topics/13880/1 "2022-06-18T11:26:27Z")

</div>

Hello can anyone guide me for development on some of the topics. I didn’t found any guide, examples or even I saw some I might not have noticed.  
How can a smart contract(canister) deploy a freshly smart contract(canister) ?

Also another question, A canister size is limited to 4 GB for now, If I have only used 100 MB of the storage can I shrink the size to remove unused space ?  
edit: I’m using rust for development.

---

<div class="post-metadata">

**Author:** ![pramitgaha](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/pramitgaha/32/11659_2.png) [@pramitgaha](https://forum.dfinity.org/u/pramitgaha)\
**Post date:** [June 18, 2022, 4:24pm UTC](https://forum.dfinity.org/t/need-some-guide-for-development-on-some-of-the-topics/13880/2 "2022-06-18T16:24:25Z")

</div>

anyone got the answers for my questions?🤔

---

<div class="post-metadata">

**Author:** ![domwoe](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/domwoe/32/5165_2.png) [@domwoe](https://forum.dfinity.org/u/domwoe)\
**Post date:** [June 20, 2022, 12:15pm UTC](https://forum.dfinity.org/t/need-some-guide-for-development-on-some-of-the-topics/13880/3 "2022-06-20T12:15:47Z")

</div>

> [@pramitgaha](#):
>
> How can a smart contract(canister) deploy a freshly smart contract(canister) ?

Here’s example from @GLdev [quickstart\_scaling/src/quickstart\_scaling\_index/src/businesslogic.rs at ca9f581c270314670f6de92e25df3b6f87927a19 · GLicDEV/quickstart\_scaling · GitHub](https://github.com/GLicDEV/quickstart_scaling/blob/ca9f581c270314670f6de92e25df3b6f87927a19/src/quickstart_scaling_index/src/businesslogic.rs#L342)

> [@pramitgaha](#):
>
> A canister size is limited to 4 GB for now, If I have only used 100 MB of the storage can I shrink the size to remove unused space ?

You’re only paying for memory you are actually using as long as you don’t allocate additional space by setting a non-zero `memory_allocation` (See: [The Internet Computer Interface Specification | Internet Computer](https://internetcomputer.org/docs/current/references/ic-interface-spec#ic-create_canister)).
