text
stringlengths
46
74.6k
# Messages All message sent in the network are of type `PeerMessage`. They are encoded using [Borsh](https://borsh.io/) which allows a rich structure, small size and fast encoding/decoding. For details about data structures used as part of the message see the [reference code](https://github.com/nearprotocol/nearcore)....
--- title: 3.7 Prediction Market Design description: Theory and use-cases of Prediction Markets, and the re-application of the mechanism design behind prediction markets for a wide variety of use-cases --- # 3.7 Prediction Market Design The final lecture in our DeFi series is titled ‘Prediction-Market Design’ - and v...
# Bridge Wallets ## Summary Standard interface for bridge wallets. ## Motivation Bridge wallets such as [WalletConnect](https://docs.walletconnect.com/2.0/) and [Nightly Connect](https://connect.nightly.app/) are powerful messaging layers for communicating with various blockchains. Since they lack an opinion on how...
NEAR Bringing Chainlink’s Leading Oracle Solution to its Open Web Ecosystem COMMUNITY July 30, 2020 We are excited to announce that Chainlink’s decentralized oracle network is launching on NEAR. You can view the TestNet repository and instructions, and in a few weeks developers can start building applications that are ...
# RuntimeFeesConfig Economic parameters for runtime ## action_receipt_creation_config _type: Fee_ Describes the cost of creating an action receipt, `ActionReceipt`, excluding the actual cost of actions. ## data_receipt_creation_config _type: [DataReceiptCreationConfig](RuntimeFeeConfig/DataReceiptCreationConfig.m...
--- title: 4.3 Social Tokens description: Understanding the social value of Non-Fungible tokens --- # 4.3 Social Tokens The focus of this lecture centers on the social value of Non-Fungible tokens, as already achieved across the crypto verse through token-gated communities (social tokens) and Profile Picture communit...
deadmau5 Launches NFT Partnership with Mintbase and NEAR COMMUNITY December 3, 2021 deadmau5, the DJ and Producer has teamed up with rockband Portugal. the Man, Mintbase, and NEAR to release a single as an NFT. The song, titled “this is fine” is being sold as a collection of one million NFTs exclusively on the Mintbas...
:::info Remember about fungible token precision. You may need this value to show a response of balance requests in an understandable-to-user way in your app. How to get precision value (decimals) you may find [above](#get-token-metadata). ::: ```js const tokenContract = "token.v2.ref-finance.near"; const userTokenBala...
# AccessKeyCreationConfig Describes the cost of creating an access key. ## full_access_cost _type: Fee_ Base cost of creating a full access access-key. ## function_call_cost _type: Fee_ Base cost of creating an access-key restricted to specific functions. ## function_call_cost_per_byte _type: Fee_ Cost per byte ...
--- sidebar_label: "Credentials" --- # Credentials :::info DevConsole Please, keep in mind, currently using the AWS Credentials is the only way to access the data provided by [NEAR Lake](/tools/realtime#near-lake-indexer) ecosystem. But it is about to change with Pagoda DevConsole release. Stay tuned! ::: To acces...
--- id: running-a-node title: Run a Node on Linux and MacOS sidebar_label: Run a Node (Linux and MacOS) sidebar_position: 3 description: How to run a NEAR node using nearup on Linux and MacOS, with or without using Docker --- *If this is the first time for you to setup a validator node, head to our [Validator Bootcamp...
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; <Tabs className="file-tabs"> <TabItem value="Keypom API" label="Keypom API"> ```js const dropsNumber = "2"; const keysGeneratorUrl = "https://keypom.sctuts.com/keypair/"; const rootEntrophy = "my-password"; //If not provided, the keypair will be c...
NEAR and Grupo Nutresa Partner for Customer Experience Innovations in Web3 UNCATEGORIZED December 1, 2022 In a groundbreaking and innovative move, NEAR has partnered with Grupo Nutresa, one of the most important processors of food in South America, to bring Web3 to the grocery industry. This will see Grupo Nutresa buil...
NEAR Wallet Update: Staking and Withdrawing Tokens COMMUNITY October 12, 2020 On the journey to make blockchain-based apps accessible to everyday people, the NEAR Wallet plays a vital role for usability in the community. Usability for developers has been our priority in architecting the platform from day one, but as th...
--- slug: / sidebar_position: 1 --- # BWE Alpha Test ## Welcome 🎉 Thank you for participating in the alpha test for BOS Web Engine **(actual release name TBD)**; an improved execution layer for NEAR's decentralized front-end components. Significant effort has been dedicated to this project, reaching a stage where ...
--- sidebar_position: 2 title: Callbacks --- # Callbacks NEAR Protocol is a sharded, proof-of-stake blockchain that behaves differently than proof-of-work blockchains. When interacting with a native Rust (compiled to Wasm) smart contract, cross-contract calls are asynchronous. Callbacks are used to either get the res...
--- id: introduction title: Chain Abstraction sidebar_label: Introduction --- Do you know how your favorite apps are built and which database they use?. Chances are not, since we choose apps based on their functionality, and not their underlying tech. We believe that **same should be true for blockchain apps**, users...
--- sidebar_position: 1 sidebar_label: "Setup" --- # Setup Alerts & Triggers :::warning Please be advised that these tools and services will be discontinued soon. ::: ## Setting up E-mail alerts 1. Navigate to [console.pagoda.co](https://console.pagoda.co) and log-in 2. Navigate to the <kbd>Alerts</kbd> tab ...
Project Spotlight: TessaB- Blockchain for the Mobile Phone Industry CASE STUDIES March 3, 2021 Hi NEARverse, we’d like to introduce you to the TessaB project solving a real world problem within the secondhand mobile phone industry with blockchain via the Glyde Marketplace. Below is a Q&A with TessaB’s CEO, Flavio Mans...
--- id: how-it-works title: How QueryAPI works sidebar_label: How it works --- QueryApi is a streaming indexer implementation that executes custom indexing logic written by developers on the NEAR blockchain. QueryApi allows hosted execution of complex queries (ones that can’t be answered by a [simple RPC](../../../5.a...
NEAR, MetaBUILD 2, and Brave Head to ETHDenver COMMUNITY February 15, 2022 NEAR will be at ETHDenver, as will our MetaBUILD 2 Hackathon, and the Brave browser. The mission: support the global community of developers in building a multi-bridge, multi-chain world! The NEAR community, in partnership with Brave, will giv...
NEAR at NVIDIA GTC 2024: A Recap of Illia’s Appearance COMMUNITY March 25, 2024 At NVIDIA GTC 2024––the flagship conference of the AI hardware supercompany in San Jose, California––the spotlight was on the intersection of AI, blockchain, and the next era of open web innovation. Among the distinguished speakers was Illi...
--- title: 2.8 Legal Pathways and Project Design description: Pragmatic expectations on the implications of different legal pathways --- # 2.8 Legal Pathways and Project Design This final lecture is a practical lecture at root, that seeks to ground expectations on the implications of different legal pathways taken by...
--- title: Developer Enablement description: Overview of the Development Platform on NEAR BOS sidebar_position: 4 --- # Developer Enablement: The Developer Platform ## Highlights: * The BOS development platform removes complexity enabling any developer interested in open-source and decentralization, to build, dep...
--- NEP: 0418 Title: Remove attached_deposit view panic Author: Austin Abell <austin.abell@near.org> DiscussionsTo: https://github.com/nearprotocol/neps/pull/418 Status: Approved Type: Standards Track Category: Tools Version: 1.0.0 Created: 18-Oct-2022 Updated: 27-Jan-2023 --- ## Summary This proposal is to switch th...
NEAR Tasks Launches AI Marketplace on NEAR to Revolutionize the Future of Work NEAR FOUNDATION November 16, 2023 The convergence of AI and Web3 captured the tech industry’s imagination in 2023 — but few ideas have actually become a working reality. An exciting exception is NEAR Tasks, a global gigs marketplace poised t...
The NEAR Foundation’s Vision for the Future NEAR FOUNDATION June 24, 2022 The past several weeks have been challenging for many within crypto. This downturn is also very different from the previous 2018/2019 crypto winter as it is occurring against the backdrop of surging inflation, rising interest rates and global ins...
--- sidebar_label: "Python tutorial" --- # NEAR Lake indexer basic tutorial :::info Source code for the tutorial [`frolvanya/near-lake-raw-printer`](https://github.com/frolvanya/near-lake-raw-printer): source code for the tutorial on how to create an indexer that prints block height and number of shards ::: Recen...
NEAR Foundation Launches NEAR DA to Offer Secure, Cost-Effective Data Availability for ETH Rollups and Ethereum Developers NEAR FOUNDATION November 8, 2023 NEAR Foundation just announced the rollout of the NEAR Data Availability (NEAR DA) layer. Part of the NEAR Open Web Stack, NEAR DA is a groundbreaking innovation th...
Astro Launches on NEAR To Supercharge DAO Communities COMMUNITY October 11, 2021 Astro, the platform for online communities to gather, vote, and govern has launched on NEAR. Astro is the next evolution of SputnikDAO, the hub for decentralized autonomous organizations (DAOs) operating on NEAR with a host of new features...
--- id: contribute-faq title: Contributor FAQ sidebar_label: Contributor FAQ sidebar_position: 6 --- ### How can I get involved? {#how-can-i-get-involved} It depends what you are excited about doing! Do you want to develop on NEAR? Build tutorials? Answer questions? Expand our documentation? We recommend you to have...
--- sidebar_position: 2 --- # Styling (CSS) ## CSS Modules You can currently style BWE components with CSS modules. Each component has an associated CSS file which is saved on-chain alongside component source code. In the sandbox, a CSS module is created automatically for every component. Two syntaxes are supporte...
Music and Blockchain: The Future of Decentralized Streaming Music COMMUNITY April 22, 2022 As the decentralized economy expands, it’s no surprise that musicians are turning to the blockchain. NFTs, digital autonomous organizations (DAOs), Metaverse events, and more are transforming artistic visions into new and immers...
--- id: serialization title: Notes on Serialization --- Smart contracts need to be able to **communicate complex data** in a simple way, while also **reading and storing** such data into their states efficiently. To achieve such simple communication and efficient storage, smart contracts morph the data from their com...
--- id: deploy title: NEAR CLI - Basics sidebar_label: Deploying and Using --- import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; After your contract is ready you can deploy it in the NEAR network for everyone to use it. Let us guide you on how to use the [NEAR CLI](../../../4.tools/cli.md) to depl...
--- title: 5.1 Decentralized Autonomous Organizations (DAOs) description: The DAO revolution and its promise of change for data, users, and value --- # 5.1 Decentralized Autonomous Organizations (DAOs) _“A DAO is a capitalized organization in which a software protocol informs its operation, placing automation at its ...
--- NEP: 141 Title: Fungible Token Standard Author: Evgeny Kuzyakov <ek@near.org>, Robert Zaremba <@robert-zaremba>, @oysterpack DiscussionsTo: https://github.com/near/NEPs/issues/141 Status: Final Type: Standards Track Category: Contract Created: 03-Mar-2022 Replaces: 21 Requires: 297 --- ## Summary A standard inter...
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; <Tabs className="file-tabs"> <TabItem value="Near CLI" label="Near CLI"> ```bash # This command creates a key pair locally in .near-credentials with an implicit account as the accountId (hash representation of the public key) near generate-key ``...
--- id: registering-accounts title: Registering Accounts sidebar_label: Registering Accounts --- import {Github} from "@site/src/components/codetabs" In the previous tutorial, you looked at how to mint an initial circulating supply of tokens and how you could log events as per the [events standard](https://nomicon.io/...
--- id: query-data title: Accessing and Querying Historical data sidebar_label: Access & Query Historical data --- In this article, you'll find a high-level overview about the two most common use-cases for blockchain indexing, and how they can be solved using NEAR [QueryAPI](intro.md) and [BigQuery](../big-query.md). ...
--- id: predeployed-contract title: Pre-deployed Contract sidebar_label: Pre-deployed Contract --- > Learn how to easily create your own non-fungible tokens without doing any software development by using a readily-available NFT smart contract. ## Prerequisites To complete this tutorial successfully, you'll need:...
--- sidebar_position: 2 --- # Integration Tests We place integration tests in JS in a separate directory at the same level as `/src`, called `/integration-tests` ([read more](https://doc.rust-lang.org/cargo/reference/cargo-targets.html#integration-tests)), placing this folder within a `/tests` folder at root-level th...
--- id: fastnear-api title: FastNEAR API sidebar_label: FastNEAR API --- A fast RPC for the NEAR blockchain, based on [Redis](https://redis.io/) and [LMDB](https://www.symas.com/lmdb). ## About FastNEAR [Fast-Near](https://github.com/fastnear/fast-near) aims to provide the fastest RPC implementation for NEAR Protoco...
--- NEP: 21 Title: Fungible Token Standard Author: Evgeny Kuzyakov <ek@near.org> DiscussionsTo: https://github.com/near/NEPs/pull/21 Status: Final Type: Standards Track Category: Contract Created: 29-Oct-2019 SupersededBy: 141 --- ## Summary A standard interface for fungible tokens allowing for ownership, escrow and ...
NEAR Foundation Transparency Report: Q2 2023 NEAR FOUNDATION July 10, 2023 Hello, NEAR World! Welcome to NEAR Foundation’s Transparency Report. Published quarterly, the Transparency Report explores the NEAR ecosystem’s progress, as well as the latest technology news and updates from the NEAR ecosystem. The Q2 edition...
Refer-and-Earn 2022 Q2 Report NEAR FOUNDATION October 12, 2022 NEAR’s ever-growing and engaged community is one of the ecosystem’s greatest strengths. Remember the NEAR Foundation Grants team’s Refer-and-Earn bonus scheme? A number of NEAR community members participated in Refer-and-Earn in early 2022, resulting in gra...
NEAR Foundation Unlocks Web3 B2B Solutions with SK Inc. C&C Strategic Partnership NEAR FOUNDATION September 20, 2023 The NEAR Foundation is joining forces with SK Inc. C&C, a global leader in the IT industry, to help Web3 businesses expand in the region. The collaboration brings together two teams committed to helpin...
Filecoin Launches Collaboration with NEAR to Accelerate the Growth of the Web3 Stack COMMUNITY August 10, 2021 In July 2021, Textile launched the Filecoin-NEAR bridge, taking the first step to provide simple, permissionless storage for smart contracts on NEAR — a sharded layer 1 blockchain protocol for building user-fr...
NEAR partners with Ceramic on cross-chain identity and dynamic data storage COMMUNITY May 28, 2021 Partnership with Ceramic brings streaming data and cross-chain identity protocols to NEAR developers. Developers building on NEAR Protocol now have a powerful way to manage user identities and dynamic off-chain data in th...
A Platform for Interactive Collectibles by Renowned Artists COMMUNITY April 24, 2020 Art existed since the dawn of time, but the majority of people don’t own art due to prohibitively expensive cost of it. It’s viewed as a luxury. Private collections and public galleries existed for centuries, but the mainstream ownersh...
# Multi Token Enumeration :::caution This is part of the proposed spec [NEP-245](https://github.com/near/NEPs/blob/master/neps/nep-0245.md) and is subject to change. ::: Version `1.0.0` ## Summary Standard interfaces for counting & fetching tokens, for an entire Multi Token contract or for a given owner. ## Motiva...
--- id: integrate-contracts title: Integrating Contracts --- import {CodeTabs, Language, Github} from "@site/src/components/codetabs" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; To integrate NEAR to your frontend, you will leverage two tools: 1. `Wallet Selector`: Enables the user to select ...
--- sidebar_position: 5 --- # Optimization The options presented here can lead to decreased security and should only be used with clear understanding of the implications. ## Trust Mode The default trust model of BWE is to encourage risk-free composability by sandboxing all embedded BWE components by default. There ...
--- id: maintenance title: Node Update and Network Upgrade sidebar_label: Node Update and Network Upgrade sidebar_position: 2 description: NEAR Node Update and Network Upgrade --- ## Nearcore Releases {#updating-a-node} As a decentralized network, every update to NEAR Protocol needs some coordination between end user...
# Applying chunk ## Inputs and outputs Runtime.apply takes following inputs: * trie and current state root * *validator_accounts_update* * *incoming_receipts* * *transactions* and produces following outputs: * new state root * *validator_proposals* * *outgoing_receipts* * (executed receipt) *outcomes* * *proof* ## ...
NEAR Balkans’ Tekuno and Mastercard Team Up for Gamified NFT Experience NEAR FOUNDATION April 7, 2023 NEAR Foundation is thrilled to announce that Tekuno, one of the most innovative NEAR Balkans Hub projects, recently teamed up with Mastercard to serve up an incredibly unique real-life NFT experience. Attendees at the ...
Open Call for Feedback on NEAR Protocol Validator Delegation Proposals COMMUNITY September 14, 2023 Validators are the backbone of the NEAR Protocol, playing an integral role in upholding the network’s core values now and into the future. Validators ensure that NEAR Protocol remains scalable, user-friendly, secure, tru...
# Trie API Here we provide a specification of trie API. After this NEP is merged, the cases where our current implementation does not follow the specification are considered to be bugs that need to be fixed. --- ```rust storage_write(key_len: u64, key_ptr: u64, value_len: u64, value_ptr: u64, register_id: u64) -> u6...
Toward a Better Planet: Green NFTs CASE STUDIES June 8, 2021 After the boom of decentralized finance in 2020, the blockchain industry has turned its attention to NFTs. Artists, celebrities, and blockchain enthusiasts alike are minting, buying, and selling NFTs. But NFTs aren’t without controversy. Many people are again...
Ready Layer One Rewind COMMUNITY May 27, 2020 In the backdrop of a global pandemic, economic shutdowns, work from home mandates, uncertainty and anxiety, crashing markets, tens of millions of unemployment filings, and money printers around the world going BRRRR — there was a need for solutions, and a need for unity. ...
--- title: 2.2 Ethereum 1.0 / Ethereum 2.0 description: The origins, history, success, and future trajectory of the Ethereum Network --- # 2.2 Ethereum 1.0 / Ethereum 2.0 (the road to it) It is only fitting that in our discussions of the L1 landscape we start with the most successful and most renowned L1 ecosystem -...
```js const AMM_CONTRACT_ADDRESS = "v2.ref-finance.near"; const wallet = new Wallet({ createAccessKeyFor: AMM_CONTRACT_ADDRESS }); await wallet.viewMethod({ method: 'get_deposits', args: { account_id: "bob.near" }, contractId: AMM_CONTRACT_ADDRESS, }); ``` _The `Wallet` object comes from our [quickstart te...
--- id: introduction title: Fungible Tokens Zero to Hero sidebar_label: Introduction --- > In this _Zero to Hero_ series, you'll find a set of tutorials covering every aspect of a fungible token (FT) smart contract. > You'll start by interacting with a pre-deployed contract and by the end you'll have built a fully-fle...
--- title: 4.2 NFT Lending, Fractionalization and Time-Scarcity description: What can we do with non-fungible or intangible assets? --- # 4.2 NFT Lending, Fractionalization and Time-Scarcity In this lecture, the focus is really on zooming into three of the most clearly established use-cases of non-fungible tokens, wh...
Unsolved Problems in Blockchain Sharding DEVELOPERS December 12, 2018 In the first part of the series we provided motivation for blockchain sharding and discussed some core concepts. In this post we will discuss some more advanced aspects of sharding, including its two biggest unsolved challenges: data availability and...
The Graph Expands Subgraph Support to NEAR and 40+ Blockchains COMMUNITY March 14, 2024 The Graph Foundation recently announced the inclusion of NEAR into its expansive subgraph support, now encompassing over 40 leading L1 and L2 blockchains including Arbitrum, Base, Fantom, Celo, Optimism, Polygon Labs, and Scroll. By...
Stake Wars is Over, but We’re Just Getting Started COMMUNITY October 9, 2020 Almost one year from its first announcement, we are closing one of the most important chapters in the history of NEAR Protocol: The Stake Wars. Born as a competition on top of our incentivized testnet, it quickly became everything but war, it...
--- id: introduction title: About Rust SDK --- Rust is a programming language designed for performance and safety. It is syntactically similar to C++, but can guarantee memory safety without resorting to garbage collection. Rust has proven to be a mature and secure language, which makes it ideal to write smart contrac...
NEAR & Social Good: The Future of Social Good and Crypto COMMUNITY July 28, 2022 Since their inception, blockchains and cryptocurrencies have been about much more than novel technologies and financial applications. Principles like building a more open, accessible, and equitable world have always featured prominently in...
--- id: bounty title: Bug Bounty Program --- NEAR has a [revamped bug bounty program](https://hackenproof.com/near/near-protocol)! Hackers - help audit, test, and toughen NEAR up, starting with bounties in the protocol category, and soon expanding to wallet, web, console, and smart contracts
# Accounts ## Account ID NEAR Protocol has an account names system. Account ID is similar to a username. Account IDs have to follow the rules. ### Account ID Rules - minimum length is 2 - maximum length is 64 - **Account ID** consists of **Account ID parts** separated by `.` - **Account ID part** consists of lowerc...
--- id: overview sidebar_position: 1 sidebar_label: "Crossword Game Overview" title: "Basics overview laying out what will be accomplished in this first section." --- import basicCrossword from '/docs/assets/crosswords/basics-crossword.jpg'; import rustScary from '/docs/assets/crosswords/rust-scary--ksart.near.png'; i...
--- id: ft title: Fungible Tokens (FT) hide_table_of_contents: false --- import {FeatureList, Column, Feature} from "@site/src/components/featurelist" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import BOSGetMetadata from "./ft/bos/get-metadata.md" import BOSCheckBalance from "./ft/bos/chec...
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; <Tabs groupId="nft-contract-tabs" className="file-tabs"> <TabItem value="Paras" label="Paras" default> ```js const tokenData = Near.call( "x.paras.near", "nft_buy", { token_series_id: "299102", receiver_id: "bob.near", }, undefine...
--- id: minting title: Minting sidebar_label: Minting --- import {Github} from "@site/src/components/codetabs" This is the first of many tutorials in a series where you'll be creating a complete NFT smart contract from scratch that conforms with all the NEAR [NFT standards](https://nomicon.io/Standards/NonFungibleToke...
--- title: 2.6 Crypto Ecosystems and Emerging Technologies description: Crypto, the 21st Century General Purpose Technology --- # 2.6 Crypto Ecosystems and Emerging Technologies The focus of this lecture is on crypto and emerging technologies. But from another angle, this could equally be stated as _Crypto, the 21st ...
Community Update: June 5th, 2020 COMMUNITY June 5, 2020 This week in America, millions have taken to the streets to protest the murder of George Floyd and a system that pushes down minorities and perpetuates injustice. We have been humbled and inspired to watch this movement spread across the globe. We applaud your su...
--- id: feed-indexer title: Social Feed Indexer sidebar_label: Social Feed Indexer --- :::info NEAR QueryAPI is currently under development. Users who want to test-drive this solution need to be added to the allowlist before creating or forking QueryAPI indexers. You can request access through [this link](http://bi...
NEAR Launches 1,000 Teacher Education Program COMMUNITY December 9, 2021 As part of NEAR Foundation, the NEAR Education team is building a vast and vibrant ecosystem with the mission of making the open web accessible to everyone, regardless of experience, age, background, or native tongue. From lightweight, minute-lo...
NEAR Foundation CEO Transition: A Note from Erik Trautman NEAR FOUNDATION December 16, 2021 I’m proud to say that, earlier today, the NEAR Foundation announced its selection of Marieke Flament as its new CEO starting January 1st, 2022. It’s an exciting time of transition and we’re thrilled to bring Marieke aboard beca...
--- id: xcc title: Cross Contract Call --- import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import {CodeTabs, Language, Github} from "@site/src/components/codetabs" This example performs the simplest cross-contract call possible: it calls our [Hello NEAR](https://github.com/near-examples/hello-ne...
Blockchain Scaling Approaches: NEAR Sharding vs. Layer 2s NEAR FOUNDATION June 14, 2023 Layer-twos (L2s) have become increasingly popular as a scaling solution for layer one (L1) blockchains in the past several years, especially after Ethereum decided to scale via a rollup-centric roadmap. A layer-two is a protocol bui...
```js const tokenContract = "token.v2.ref-finance.near"; const result = Near.call( tokenContract, "ft_transfer_call", { receiver_id: "v2.ref-finance.near", amount: "100000000000000000", msg: "", }, 300000000000000, 1 ); ``` <details> <summary>Example response</summary> <p> ```json '10000000000...
NEAR Wallet Rockets to Over 20 Million Users With SWEAT Partnership COMMUNITY November 3, 2022 It’s almost hard to believe that the NEAR Wallet had only 2 million users at the start of this year. At over 20 million users, NEAR is thrilled to mark its wallet’s tenfold growth in less than a year. NEAR is really creating ...
```bash near call primitives.sputnik-dao.near act_proposal '{"id": 0, "action": "VoteApprove"}' --gas 300000000000000 --accountId bob.near ``` :::note Available vote options: `VoteApprove`, `VoteReject`, `VoteRemove`. :::
NDC V1 Governance Elections FAQ COMMUNITY July 20, 2023 The NEAR Digital Collective (NDC), the largest decentralization effort on any layer 1 blockchain, has spent much of 2023 designing a number of frameworks that will allow any member of the NEAR Protocol network to have a say in how NEAR is run. NDC’s goal is to com...
--- id: web-methods title: Web Browser Methods --- import {WidgetEditor} from "@site/src/components/widget-editor" NEAR Components have access to classic web methods that enable them to: - [Fetch](#fetch) data from external sources. - [Cache](#cache) values to avoid redundant computations. - Use [LocalStorage](#local...
import DocCardList from '@theme/DocCardList'; import {useCurrentSidebarCategory} from '@docusaurus/theme-common'; # Multi Token Standard <DocCardList items={useCurrentSidebarCategory().items}/>
NEAR’s April Town Hall Highlights COMMUNITY May 5, 2022 NEAR’s explosive and diverse ecosystem growth continued into the spring. As always, the NEAR Town Hall is a virtual venue for the growing global NEAR community to put their finger on the ecosystem pulse. It’s also a great opportunity to meet community members, as ...
--- sidebar_position: 2 --- # Collections When deciding on data structures to use for the data of the application, it is important to minimize the amount of data read and written to storage but also the amount of data serialized and deserialized to minimize the cost of transactions. It is important to understand the ...
Internet at Crossroads — Where do we go from here? COMMUNITY August 27, 2018 At the time of this writing, Amazon, Apple, Facebook, Google, and Netflix are worth $696 billion on average. That’s higher than the GDP of large countries like Argentina or Switzerland. How did the world converge to such a hegemony of just sev...
# StateRecord _type: Enum_ Enum that describes one of the records in the state storage. ## Account _type: Unnamed struct_ Record that contains account information for a given account ID. ### account_id _type: `AccountId`_ The account ID of the account. ### account _type: [Account](../DataStructures/Account.md...
Built on NEAR: Celebrating Partners and Innovators at NEARCON ’23 NEAR FOUNDATION October 13, 2023 Partnerships are one of the biggest pillars to expanding NEAR’s footprint. They help drive the ecosystem toward fostering new and innovative use cases that will bring the next billion users to the open web. And that’s exa...
--- id: introduction title: NFT Zero to Hero sidebar_label: Introduction --- In this _Zero to Hero_ series, you'll find a set of tutorials that will cover every aspect of a non-fungible token (NFT) smart contract. You'll start by minting an NFT using a pre-deployed contract and by the end you'll end up building a full...
--- id: integration-test title: Integration Tests #sidebar_label: 🥼 Integration Test --- import {CodeTabs, Language, Github} from "@site/src/components/codetabs" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; Integration tests enable to deploy your contract in the NEAR `testnet` or a local `san...
Announcing Ready Layer One: An Open Blockchain Week COMMUNITY April 6, 2020 Ready Layer One Today we’re excited to announce an unprecedented collaboration between base layer blockchain projects to put on a free virtual summit for all of the builders out there. This multi-day event, called Ready Layer One, will take pla...
--- id: interaction title: Smart Contract Interaction --- Your frontend can interact with different blockchains using the built-in BOS API. Let's see how to create an application that reads and stores a greeting from a NEAR smart contract. ![widgets](/docs/hello-near-logedin.png) *View of our Hello Near app when the...
Armored Kingdom, Brave, JavaScript: Highlights from NEAR @ Consensus COMMUNITY June 12, 2022 The NEAR community was busy connecting at the Consensus conference this weekend in Austin, Texas. The NEAR Foundation made its presence felt in a variety of ways, from hosting educational developer workshops to panel discussion...
# Access Keys Access key provides an access for a particular account. Each access key belongs to some account and is identified by a unique (within the account) public key. Access keys are stored as `account_id,public_key` in a trie state. Account can have from [zero](#account-without-access-keys) to multiple access k...
NEARCON IRL Hackathon 2023: Build the Open Web NEAR FOUNDATION September 28, 2023 If you attended NEARCON last year, you know the 48-hour IRL hackathon — “Building Beyond the Hype” was a great event, with all sorts of exciting prototypes that helped propel NEAR through the last year. For NEARCON 2023, which will be he...