Introduction to Keypom
To view our debut talk at NEARCON 2022, click here.
Keypom is an access key factory created as a result of 3 common problems that arose in the ecosystem.
- People want a cheap, customizable, and unique onboarding experience for users.
- Companies don't want to expose full access keys in their backend servers.
- dApps want a smooth UX with zero barrier to entry onboarding.
The contract was initially created as a way to handle the 1 $NEAR minimum deposit required for creating linkdrops using the regular linkdrop contract.
If users wanted to create linkdrops, they needed to attach a minimum of 1 $NEAR. This made it costly and unscalable for projects that wanted to mass onboard onto NEAR. Keypom, on the other hand, has been highly optimized to allow for the lowest possible costs.
Blockchain technology comes with many benefits such as sovereign ownership, digital rights, privacy, freedom, peer to peer coordination and much more. The problem with this technology, however, is that there is an extremely high barrier to entry for an everyday individual. None of it matters if nobody can onboard.
It’s confusing to create and fund a crypto wallet. People are unfamiliar with the process, technical jargon, and the general flow. NEAR’s account model is powerful, but extremely underutilized because it’s complex for developers to take full advantage of. Keypom wraps this up in a single API call.
With NEAR’s goal of onboarding 1 billion users to Web3, there needs to be a solution to this high barrier to entry for developers building on NEAR and users onboarding to their apps and the NEAR ecosystem.
Below is a table outlining the minimum costs to onboard a new user onto NEAR with a named account.
|1 Account||1,000 Accounts||1,000,000 Accounts|
|Traditional Linkdrop||~1 NEAR||~1,003 NEAR||~1,002,840 NEAR|
|Keypom||~0.0035 NEAR||~3.5 NEAR||~3,500 NEAR|
|~99.65% Cheaper||~99.65% Cheaper||~99.65% Cheaper|
Keypom allows anyone to create highly customizable onboarding experiences for their users. These experiences can be both for new, or existing users. If someone already has a wallet, they can still use a Keypom link to experience an app, and then transfer the assets later.
|Function Call Drop||✅||❌||❌|
|Embeddable in Dapps||✅||❌||❌|
|Wallet Selector Integration||✅||❌||❌|
|No Backend / 3rd Party||✅||✅||❌|
|Multi-Step e.g. Tickets click > scan > claim||✅||❌||❌|
|Password Protected Drops||✅||❌||❌|
|Timed Drops e.g. recurring payments||✅||❌||❌|
|Custom Names e.g. user.myapp.near||✅||❌||❌|
Keypom allows for the creation of highly customizable access keys. These keys can be thought of as having their own smart contracts. Each access key derives from what's known as a drop. These drops outline the different functionalities and behaviors the key will have. A drop can be thought of as a bucket that access keys belong to. You can create many different buckets and fill them each with their own keys. Each key will act in accordance to the drop, or bucket, it belongs to.
A drop can be one of four different types:
- Simple drop.
- Non Fungible Token drop.
- Fungible Token drop.
- Function Call drop.