I’m looking to use the CLI wallet code to develop something along the lines of an app, or perhaps just some interesting ways to interface with the blockchain to read data. (Mostly for experience initially, but with business users as my focus.)
I’d like to know if others can share some simple ideas they think would be useful, and maybe things to know about developing using the CLI.
I have good enough javascript skills, plus some general other languages, but not an expert by any standard. Though I’ve developed commercial software using other languages so I understand the end to end life cycle and need for continuous improvement and development, security, privacy, maintenance and such.
That said, I would like to hear from the community about how to built something new with the CLI code that would not complete the TWM, but offer some niche use cases.
Some ideas I want to experiment with:
Make a simple basic personal store app that lets you favorite products, watch/alert an item price, quantity, etc.
And hopefully if it ends up being safe enough, others could clone the project. (Not trying for any payment activity yet, just an anonymous product viewer similar to safex.ninja but for a single seller, or maybe even a user can favorites several sellers along with products, etc…)(i guess that’s really more like saved search queries with ability to hide results you don’t want to see again.)
If anyone has any cool use cases they want to share, I’d like to try to make something and share it.
So, I finally got some time to sit and read through all of this and use the API and I was successful in pulling in some blockchain offers header information and locked in tokens. I’ve used Microsoft Access for this so far. (Some may cringe, but I have 20+ years developing in access and can bend it to my will, it’s very extensible)
I think that’s a good start but now I’m really looking forward to doing more and seeing if I can dabble into some of the more advanced features ( create accounts, offers, stake, unstake, send tokens).i hope that’s available to do now. If anyone knows otherwise, let me know.
I’m going to import the wallet library and see what i can do next.
Thank you @dandabek for all those links, they made it easy to get to this point and I hope to be a contributor in the near future.
After I get successful testing I hope to be able to share a template of what I’ve built, it will have some really interesting features.
just an update, I’ve made it a lot further and have the RPC wallet functionality working very well.
I can open/close wallet, tag/untag, label account, plus the code is set up for the other general wallet functions.
I’ve turned my focus back to the safex account creating and offer generation, though I’m a bit stuck on this.
If anyone has any tips to share, please do.
When using the CLI Wallet command ‘safex_account’ example: safex_account new testusername1 sample account data
The new safex_account appear in my list of safex_accounts, but status says active: no.
You first do the new account like you did to create new account on the wallet, and then safex_account create (name) to create it on the blockchain, then when txn is send it will mature for 10 blocks and then the account is active
So after a safex_account is created, attempting to “safex_offer new” or “safex_account edit” I get:
Error: internal error: the tx uses funds from multiple accounts
Not sure I understand how it’s selecting funds from multiple accounts. Wondering if it’s something different? I’m running the command on the selected account (index of 1 in this case) and it has funds.