Thanks to @deevope’s recent contribution, grin-wallet CLI can be scanned publicly which is important for integration of grin with exchanges.
I would like to announce that grinnode.live is offering a 150 grin bounty for a tutorial of a step by step usage of this feature with screenshots and preferably involving scenarios that cover integration of grin with exchanges.
This is a great contribution indeed I’m not sure if that’s for integrating with exchanges though, it’s more like having the ability to observe how much money a wallet has e.g. donation transparency, tracking of your outputs without having the private key around and similar.
A good example use-case would have been my funding request which was approved by the CC using community donations (not from the fund). It was left up to me to tell you when I had reached the goal and ended up receiving enough to run slatepcks for 12 months which I then divided to also create MWSocial.
In the future I would create an address as a public listener and use grin-wallet rewind_hash to get my hash and then share that with people who then can use the grin-wallet scan_rewind_hash command to scan the outputs of that wallet – is that right?
I’ll be happy to create a step-by-step tutorial and video tomorrow.
An exchange would most likely manage multiple wallets. It could enable them to secure wallets in one security zone and the frontend that do calculations in another security zone. Also it may help them on automation of interaction between deposit wallets and hot wallets that service users.
I will start this little tutorial by sharing operation system infos. i’am running Macos Big Sure 11.1
workstation@MacBook-Pro-de-workstation grin-wallet % uname -a
Darwin MacBook-Pro-de-workstation.local 20.2.0 Darwin Kernel Version 20.2.0: Wed Dec 2 20:39:59 PST 2020; root:xnu-7195.60.75~1/RELEASE_X86_64 x86_64
Here is the steps to BUILD the latest grin-wallet version. thank you @deev for sharing the steps
git clone https://github.com/mimblewimble/grin-wallet.git
cd grin-wallet
cargo build --release
Once completed you will find the executable file in the target/debug/ folder
First Let’s check our balance by running the “info” command like below
workstation@MacBook-Pro-de-workstation grin-wallet % grin-wallet info
____ Wallet Summary Info - Account 'default' as of height 1308955 ____
Confirmed Total | 0.731000000
Awaiting Confirmation (< 10) | 0.731000000
Awaiting Finalization | 0.000000000
Locked by previous transaction | 0.000000000
-------------------------------- | -------------
Currently Spendable | 0.000000000
Command 'info' completed successfully
the rewind_hash cmd will help us get the hash we can share publicly if you want to disclose your balance
For the build steps, if that the first time you build it, you`need to install the following package: apt install build-essential cmake git libgit2-dev clang libncurses5-dev libncursesw5-dev zlib1g-dev pkg-config libssl-dev llvm