Make a stake program for my own nft project - solana

Friends, I want to stake my own nft project. I wonder if there is a tool like candy machine for this? How can I make a staking program?

I'm working on building a staking platform right now, but still WIP.
You can checkout floppylabs , gemfarm, cardinal. These are all platforms where you can basically set up staking for your project and use their program.

Related

How do you get a Google Apps Script code to be available for every single spreadsheet in your drive without copy-pasting?

I am using a shared Google account and the rest of the people with access to the account have even less programming knowledge than me. I have a custom function that greatly helps us to reduce the time we spend on a repetitive task but we need to do that task on many sheets and more sheets are continuously being added to the Drive.
They are not too comfortable with bringing up the Apps Script editor each time the code needs to be run so I have been trying to add a custom menu to the GSheets UI so the function can be run just by clicking on one button.
Is there a way for me to get this menu to appear on every single GSheet in the Drive?
I have searched high and low for the answer to this question and have been asked to use libraries and to publish the script as an add-on. I read that libraries might slow down the script execution and the editor still needs to be brought up so I tried the add-on method instead.
After spending hours navigating through the confusing maze that is the Google Cloud Platform and Google Marketplace SDK, I found out that to pass OAuth verification, I need to have my own domain and we just don't have the budget for domain hosting.
Any help or solutions offered would be greatly appreciated. Thanks.

Is substrate based blockchain compatible with solana?

Recently someone told me about Solana. I went throgh their website https://solana.com/. I just wanted to know whether substrate pallet is compatible with solana. If yes, how?
Different bridges are currently being built like Wormhole, but most efforts are concentrated on SOL <> ETH at the moment. For a good reason, as most liquidity is on Ethereum.
Polkadot support is in the plans though, as per a discussion I had yesterday with a core Wormhole developer.

DJI Phantom API or hackable procedure

Maybe I have't looked hard enough, but I spent yesterday googling for a bit and found no relevant projects on hacking the DJI Phantom Drone in order to create new coordinating apps. This is besides the app for coordination DJI currently uses for their drone. I'm trying to see if there's a way to communicate with the Drone with a specific protocol in order to accept a set of procedures.
Any help would be awesome,
Thanks.
Great News for you and all us Droneys! DJI has launched their SDK since you asked this question. They released it last November and you can now apply for a license and write your own apps for the Phantom2 Vision+ using their SDK.
Check it out at https://developer.dji.com/
I am already building a project using the SDK - you can follow my progress on my blog / product site. I will also try to update it with good DJI related development links and tips.
This post is old but I think it is good to leave a foot print for others :)
There is this new company called NVdrones, which created a peace of hardware that you can attach to any drone (you need physical access to the flight controller), and once you do that you can use their SDK (Arduino, Java, Android and Javascript) to write your app without the need of hacking, soldering or anything else. It is just plug and play.
Another benefit is that you are not locked with a specific drone (DJI SDK or 3DRobotics SDK), you can use the board on anything you want. Which gives lots of flexibility.
The developer site is http://developers.NVdrones.com
Hope this helps.
This is a great topic!
You could check how to hack your copter here: https://github.com/flyver/Flyver-SDK/wiki/-2.2--How-To:-Flyver-Hack-a-Copter
By opening the drone, taking out the original controller, soldering a few wires and sticking an Android phone to it, you will have the ability to program your Phantom in a modern manner with an open source SDK and application based development. This means that you could add computer vision to it, automation or additional hardware. You could also use smartphones, web and other interactive devices for remote controlling the copter instead of using the standard remote controls.
The Phantom, however, is offcenter balanced due to the fact that most people use gimbal with it. Without the gimbal is a lot less stable from my experiments so you will have to put some extra work in center balancing it.

Do I need to protect my desktop app if distributed over AppStore?

I have made a simple desktop app that I want to sell through the AppStore. Of course I want to be protected against piracy. Does AppStore give any protection? How does that process work?
For instance, what prevents a dishonest person from buying my app and then upload it on a torrent and share it with others. If these other people download my app, will they automatically be asked for their identity check (Apple ID and password), the first time they try to use my app, thus preventing them from using it if they have not bought it legally.
If this identity check does not happen automatically, then do I need to add some code in my app that will ask for the identity check. If so, where can I find info about how to do that?
I'm not entirely sure how this process works. Could somebody shed some light on it?
Mac App Store slips a receipt each time it is downloaded into the bundle. The receipt contains information about the computer used (the so called GUID) and the user logged into the App Store.
See here how you should validate the receipt:
https://developer.apple.com/library/mac/releasenotes/General/ValidateAppStoreReceipt/Introduction.html#//apple_ref/doc/uid/TP40010573
If you implement the GUID validation as described in the document, the app will not run on any other computer.
Also check the signature of your code to make sure it has not been tampered:
Verifying app's signature by code
Your application, when downloaded from the App Store, contains a receipt. The receipt contains proof that it was downloaded onto this computer from the App Store, and the ID of the application. There are instructions somewhere on Apple's website that tell you how to verify the receipt and what to do if the verification fails.
That said, you are much better off concentrating on writing an app that people actually want to buy. People who pirate your app wouldn't hand over money if it couldn't be pirated. They would do without it, pick some free app, or pick a different app that they can pirate.
And I'm quite sure that any copy protection you build into your app yourself will get it rejected from the App Store.
Even though the answers I've got were helpful, they didn't quite provide the answer I needed. Looking around I found a software called Receigen from Laurent Etiemble, and the FAQ on his site (http://receigen.etiemble.com/faq.html) gave many answers for what I was looking for. For instance
What is an App Store receipt validation ? Why is it needed ?
Basically, an App Store receipt is what an application must check to ensure that the copy is genuine and can be run.
What happens if I don't check the App Store receipt ?
Well, anybody with a copy of your application can run it, with or without proper authorization.
Is the code receipt validation easy to write?
No because it requires deep understanding of cryptography and secure coding techniques.
It didn't hurt either that Receigen generated code that freed me from dealing with receipt validation code. Receigen takes care of this part so I can focus on what is really important for me: my application.
Yes, it costs money but personally I am more than glad to pay it, because I find this part of the development tedious, boring and complex.
TPInAppReceipt is a great package for this.
I was able to easily add local receipt validation after trying many others solutions less successfully:
https://github.com/tikhop/TPInAppReceipt

BREW TBT Process?

I am new To TBT Process. If i want to test my build in TBT for a particular device, I have to pay, OK... but If want to test for another device model, do I have to pay again? After passing TBT process, how can I sell that build, will they provide single file or MOD with MIF, like that? What I have to go through result build? Any help please?
With TBT, you pay each time you submit a build. You pay less if you are adding a device to your existing application submission.
Once the app passes, it is listed in your Qualcomm extranet site. No, you do not get a build. Qualcommm holds the certified build with them and then you contact the operator willing to have your application listed with the content id.
Its a completely locked down system so my advice is not to get into the platform unless you have a operator willing to take on your application.

Resources