NEAR uses readable account IDs instead of a hash of a public key. It’s similar to twitter handles. Also Account IDs work like domains. E.g. only account “alice” can create a sub-account like “app.alice”, and now only “app.alice” can create a “http://beta.app .alice”.
-
-
Prikaži ovu nit
-
Account ID has a minimum length of 2 characters. NEAR charges recurrent tax from the account balance for short account IDs with exponentially decreasing rate based on the length. IDs with length more than 10 chars don’t pay it. It’s needed to avoid squatting short account names.
Prikaži ovu nit -
Because we use Account ID instead of a hash, we can have multiple public keys per account. We call them Access Keys. Access Key grants permissions to act on behalf of the account. There are 2 types of permissions: full-permission and function-call limited permission.
Prikaži ovu nit -
Function call permission of access keys is the most powerful usability feature of NEAR. It allows to send non-monetary function-call transactions from the owner’s account to the receiver. The receiver ID is restricted by the access key. This enables multiple use-cases.
Prikaži ovu nit -
#1. Authorize front-end web applications without trusting the contract code or the web-app itself. It’s done by creating a new access key on your account and pointing it towards the contract of the web-app. Can be done through the web wallet.
Prikaži ovu nit -
#2. Allow a new user WITHOUT an account to use your dApp and your contract on-chain. The back-end creates a new access-key for the user on the contract’s account, points it towards the contract itself. Now the user can immediately use the web-app without going through any wallet
Prikaži ovu nit -
#3. Limited access for the account. An account has a contract and only function-call access keys (no full-permission keys). Only the contract can initiate transactions from this account. It can be a multi-sig, a lockup contract, a delayed withdrawals or
@argentHQ guardians.Prikaži ovu nit -
#4. Proxy based blockchain access. It’s like
@ATT for a blockchain. A user may be paying a monthly service fee instead of paying per transaction. Multiple options are possible.Prikaži ovu nit -
Learn more by watching Lunch and Learn series: https://www.youtube.com/playlist?list=PL9tzQn_TEuFW_t9QDzlQJZpEQnhcZte2y … Or reading docs to start building nowhttps://docs.nearprotocol.com/
Prikaži ovu nit -
Try it out in action. The first use-case is https://app.near.ai/app/pvc6pvo52/
Prikaži ovu nit -
Deployed in 15 seconds using the first template from NEAR's web-based dev studio http://near.dev
Prikaži ovu nit
Kraj razgovora
Novi razgovor -
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.
