question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Create account form should be using suffix from Linkdrop (i.e. linkdrop contract name)

See original GitHub issue

Problem

Accounts created from Linkdrop have to use Linkdrop contract name as a suffix. However right now there is one hardcoded suffix (specified in env variable) for all cases.

Expected Behavior

Account name selection control uses proper account suffix for a given linkdrop. When you proceed to create account – it gets used as well.

Steps to reproduce

  1. Create linkdrop using a contract not matching default process for given network (i.e. using something else than .testnet with testnet wallet).
  2. Try to claim it.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:1
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Patrick1904commented, Apr 30, 2021

Example case:

  1. User lands with wallet.near.org/create/linkdrop.contract.account/someKey?suffix=vlad.near
  2. User enters my-account in the input
  3. Account is created with contract linkdrop.contract.account and the username becomes my-account.vlad.near
1reaction
vgrichinacommented, Apr 30, 2021

Looks like it’s not as easy – linkdrop contract can be calling into near or testnet to create account with normal prefix.

So if we want to implement this – needs to pass separate argument for suffix (vs relying on contract name).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Introducing the linkdrop contract we can use - NEAR docs
Using NEAR CLI, a person can create a mainnet account by calling the linkdrop contract, like shown below: The above command calls the...
Read more >
Account Creation: Improve Funding UX w/ Temporary Faucet · Issue ...
Implement a temporary faucet to temporarily fund a new user's chosen Account ID ... Create account form should be using suffix from Linkdrop...
Read more >
Liquid objects: linklist - Shopify.dev
Liquid objects represent variables that you can use to build your theme. Object types include store resources, standard Shopify content, and functional ...
Read more >
Vircom inc.
VOP Radius now omits users with service type 8 (Authenticate-Only) and ... VOP Radius console and server able to read both old and...
Read more >
Policy Secure Administration Guide - Product Documentation - Ivanti
You can open a case with Ivanti Global Support Center on the Web or by ... Select the User may specify the realm...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found