# MAC OSX Application For Shielded Action
# Namada Shielded Expedition

###### tags: `Tag(NAMADA MACOS APPLICATION)`
## :memo: Where do I start?
> follow along !
## Requirements & Pre-Requisite
NAMADA SDK INSTALLED, SYNC TO LATEST BLOCK
> ### Step 1: Get the Application and Familiarize Yourself
>
> - [x] Download the application and run it on your MACOSX ([Latest Release](https://github.com/chimmykk/Namada-Utility/releases/tag/v.1.0.1))
> - [x] Now Select the options from the Menu
> - [x] Use an existing wallet > Wallet that already exist on sys
> - [x] Derive a wallet >> Derived a fresh wallet with default - -alias set to shieldedaction.
> - [x] Create a new wallet >> Create a new wallet with necessary wallet address required for shielded actions. With user own choice (- -alias)
> - [x] Perform Shielded Swap >> Shielded Swap NAAN>>ATOM>>NAAN
> - [x] Shield NAAN >> NAAN to Shielded NAAN
>
#
# Link to video
https://www.youtube.com/watch?v=vSYh783pS7I&feature=youtu.be
## Raw transaction details during the video
SHIELDED ACTION
Txn hash for shielded action > shielded Naan >>osmo
https://www.mintscan.io/osmosis-testnet/tx/6C40AF30F542D051DBE835DCABC5E0D2B09AB186E039F7A0551A7853BBF5E1F7?height=6122460
Hermes relayer > relayed back ATOM OSMO back to NAMADA shielded address.
SUCCESS [
IbcEventWithHeight {
event: SendPacket(
SendPacket {
packet: Packet {
sequence: Sequence(
1,
),
source_port: PortId(
"transfer",
),
source_channel: ChannelId(
"channel-6448",
),
destination_port: PortId(
"transfer",
),
destination_channel: ChannelId(
"channel-977",
),
data: [123, 34, 97, 109, 111, 117, 110, 116, 34, 58, 34, 52, 34, 44, 34, 100, 101, 110, 111, 109, 34, 58, 34, 117, 111, 115, 109, 111, 34, 44, 34, 114, 101, 99, 101, 105, 118, 101, 114, 34, 58, 34, 122, 110, 97, 109, 49, 113, 112, 112, 119, 118, 51, 50, 103, 56, 113, 110, 121, 48, 57, 119, 112, 55, 107, 51, 102, 104, 117, 115, 113, 102, 55, 112, 106, 52, 113, 104, 119, 107, 99, 100, 100, 112, 110, 108, 99, 118, 51, 113, 122, 50, 52, 53, 97, 55, 120, 56, 109, 113, 101, 101, 104, 57, 53, 116, 100, 55, 54, 120, 112, 117, 100, 113, 100, 102, 104, 113, 97, 110, 113, 112, 104, 118, 34, 44, 34, 115, 101, 110, 100, 101, 114, 34, 58, 34, 111, 115, 109, 111, 49, 115, 112, 97, 56, 109, 114, 117, 114, 51, 122, 113, 117, 109, 106, 117, 120, 116, 100, 118, 102, 103, 115, 116, 101, 52, 57, 56, 104, 102, 104, 116, 120, 48, 108, 53, 117, 104, 103, 34, 125],
timeout_height: At(
Height {
revision: 0,
height: 178316,
},
),
timeout_timestamp: Timestamp {
time: Some(
Time(
2024-03-19 23:13:40.468956166,
),
),
},
},
},
),
height: Height {
revision: 5,
height: 6123338,
},
},
]
User token that was swap for NAAN<>ATOM(OSMO)
Swap initiated successfully: This swap from the pool as per NAAN<>ATOM exchange rate and then send the token back ,which is the above txn. that
{"transactionHash":"A00802BFFA1D7133D26B5D0F8A2D4EE65BDD398475736C017806A730489B6BC4"}
Here is the txn details that include the amout and receiving address which is build and process over to hermes to transfer, 4 atom to the receiverAddress
Transaction details: {"swapAmount":4,"receiverAddress":"znam1qppwv32g8qny09wp7k3fhusqf7pj4qhwkcddpnlcv3qz245a7x8mqeeh95td76xpudqdfhqanqphv"}
```
Github repo
https://github.com/chimmykk/Namada-Utility.git
```
:rocket:
### Step 2: Getting Start
Let's try it out!
:::info
:bulb: **Hint:** :arrow_upper_left: .
Below is a quick overview of how the application works
###


- [ ] Try out the options:tada: )
---
### Simple Working Demonstration
Highly depend on the namada CLI and it's SDK for the functioning of the application,
Build for Cross-Platform , including Windows, Linux,
MacOSX
The Namada Shielded Expedition application, designed for macOS (Version 1.0.0), offers streamlined transactions within the Namada ecosystem. Built on the Namada CLI and SDK, it ensures dependable performance and enhanced security. Stay tuned for upcoming releases for Windows and Linux, expanding accessibility across platforms.
This succinct demonstration highlights the application's core features and emphasizes the imminent releases for Windows and Linux, underscoring the commitment to cross-platform compatibility.
MacOSX Relase Version 1.0.0 (1.0.0)
Windows and Linux release soon.
```
## MOTIVATION
>> why created this as an application?
>> well didn't really have enough god skill to master and also the interface namada.me is hard to play around for the time being so sdk for sure,
>> came up with this idea if i could implement a simple way that user can interact the namada ecosystem in much easy wasy :)) not saying mine is perfect ofcourse having this on namada.me would be game changer
>> for sure it's a lame way of impl. but it solve something(better than nothing at all)
>> did a crazy research on how to implement and here it is!
>> what drives me to build this
>> had a hard time familiarizing what is shielded swap, and what are ibc shielded swap, and usually takes time and to be on goods hand, so an application where it does everything for you instead of getting into commands and
moving arounds docs and later screwing all of em just because i dont know what is spending key,
shielded key and transparent.
>> to be fair, it takes a quite effort and time to perform txn such ibc-gen-shield and transfer and a proper understanding on the addresses required
>> on the security basis it's trust and all faith
>> we have not installed any malacious code and backdoor to harvest or extract information, the github link to it >>
>> if you have read this far thank you :) appreciate your time
>> ahh okay let me continue here with the swap mech
>>
>> for the swap mech implement a middleware that listen to upcoming request through our endpoint
>> implemented an NAAN <> IBC/ATOM On osmosis pool(308)
>> swap for it real time, based of the pool weight
>> then it sends back the swap tokens back to the receiving addresss
-----that's it
{"description":"This note is yours, feel free to play around. Type on the left and see the rendered result on the right. ","title":"MAC OSX Application For Shielded Action","contributors":"[{\"id\":\"b5ce1761-d9f6-4ac3-8bc4-5dcc2b65752a\",\"add\":20431,\"del\":17230}]"}