text stringlengths 46 74.6k |
|---|
March of the Ambassadors | September 6th, 2019
COMMUNITY
September 6, 2019
In the last two weeks we set a new record for pull requests on GitHub with 126 PRs! We’re really picking up steam towards shipping MainNet. Also, we’ve kicked off our ambassador program with the first call. It went really well and now we’ve got ... |
Women of Web3 Changemakers: Cathy Hackl
NEAR FOUNDATION
October 31, 2023
“I have always said that I’m not the typical face you see representing technology, and that’s why it’s essential for everyone to know that the future is for all,” says Cathy Hackl, a leading authority in emerging tech and co-founder of Journey, a ... |
---
id: ethers-js
title: NEAR for Ethereum developers
---
import {WidgetEditor} from "@site/src/components/widget-editor"
NEAR components are chain-agnostic, enabling you to create decentralized frontends tailored for any Ethereum dApps. Throughout this article, we'll navigate prevalent use-cases with code snippets. ... |
```rust
#[derive(Serialize, Deserialize)]
#[serde(crate = "near_sdk::serde")]
pub struct SwapAction {
/// Pool which should be used for swapping.
pub pool_id: u64,
/// Token to swap from.
pub token_in: AccountId,
/// Amount to exchange.
/// If amount_in is None, it will take amount_out from prev... |
NEAR Foundation and Eigen Labs Partner to Enable Faster, Cheaper Web3 Transactions for Ethereum Rollups via EigenLayer
NEAR FOUNDATION
November 10, 2023
EigenLabs, one of the leaders in building scaling solutions on Ethereum, is partnering with the NEAR Foundation to create an industry first partnership designed to fos... |
# Contributor Covenant Code of Conduct
## Our Pledge
In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, sex ch... |
# Epochs and staking
- [Epoch](Epoch.md)
- [EpochManager](EpochManager.md)
- [Staking](Staking.md)
|
NEAR Day at ETHDenver: Ethereum Without Limits
COMMUNITY
January 20, 2023
ETHDenver is once again upon us. NEAR will be there with a full schedule of talks, panels, bounties, after parties, and more, exploring why NEAR is the place where mainstream adoption of the Open Web will happen.
NEAR makes building and innovat... |
---
id: gas
title: Gas (Execution Fees)
---
import {NearWidget} from "@site/src/components/near-widget"
On every transaction the NEAR network charges a tiny fee known as **gas**. This fee is a simple mechanism that allows us to:
1. **Prevent** bad actors from **spamming** the network with useless transactions
2. **B... |
NEAR’s January Town Hall Recap
COMMUNITY
January 28, 2022
The last 12 months was an incredible year for the NEAR community. The ecosystem grew at a phenomenal clip, bringing in new developers, projects and users. The NEAR Protocol was also successfully upgraded to Phase 0 of Simple Nightshade, making the blockchain fas... |
---
sidebar_position: 4
sidebar_label: "Actions and sending NEAR"
title: "There are several Actions an account can do, including sending the winner of the crossword puzzle NEAR using the Transfer Action"
---
import {Github} from "@site/src/components/codetabs"
import allActions from '/docs/assets/crosswords/crossword-... |
Armored Kingdom Launches New SciFi-Fantasy Media Platform on NEAR
COMMUNITY
June 10, 2022
NEAR Foundation is excited to announce a major new entertainment franchise. Armored Kingdom, a new multi-platform, global entertainment universe, is coming to NEAR to reshape Web3 trading card games, digital comics, animation, and... |
Announcing NEAR Validator Advisory Board
COMMUNITY
August 6, 2020
With MainNet Restricted quickly approaching, NEAR is onboarding additional validators to its Advisory Board. This board is run by a selected group of professional validators who, over time, become the key voices in the technical governance of NEAR Protoc... |
```bash
near view nearweek-news-contribution.sputnik-dao.near get_proposals '{"from_index": 9262, "limit": 2}'
```
<details>
<summary>Example response</summary>
<p>
```bash
[
{
id: 9262,
proposer: 'pasternag.near',
description: 'NEAR, a top non-EVM blockchain, has gone live on Router’s Testnet Mandara. ... |
---
id: count-near
title: Count on NEAR
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
import {CodeTabs, Language, Github} from "@site/src/components/codetabs"
Our counter example is a friendly decentralized app that stores a number and exposes methods to `increment`,
`decrement`, and `rese... |
NEAR Horizon and Outlier Ventures Create Base Camp Accelerator to Propel Web3 Startups
NEAR FOUNDATION
May 11, 2023
NEAR Horizon, NEAR Foundation’s new Web3 startup platform, is joining forces with Outlier Ventures to launch the NEAR Base Camp accelerator program, an initiative aimed at supporting startups building on ... |
---
title: Essentials
description: A brief overview of some essential tools to get started with NEAR
sidebar_position: 5
---
# Essentials
----
:::info on this page
* Wallets
* Exploring the NEAR blockchain
* Development on NEAR
:::
There are a lot of ways to interact with both NEAR protocol and the NEAR token.
While... |
NEARCON Returns: Here’s Everything You Need to Know So Far
NEAR FOUNDATION
June 15, 2023
Last year’s NEARCON was epic. NEARCON 2023 will be iconic.
While all of you have been diligently building NEAR into one of the best ecosystems in the blockchain world, NEAR Foundation has been planning a 4-day journey into an ope... |
---
NEP: 145
Title: Storage Management
Author: Evgeny Kuzyakov <ek@near.org>, @oysterpack
DiscussionsTo: https://github.com/near/NEPs/discussions/145
Status: Final
Type: Standards Track
Category: Contract
Created: 03-Mar-2022
---
## Summary
NEAR uses [storage staking] which means that a contract account must have suf... |
---
id: callbacks
title: Cross-Contract Calls
---
While writing cross-contract calls there is a significant aspect to keep in mind: all the calls are **independent** and **asynchronous**. In other words:
- The method in which you make the call and method for the callback are **independent**.
- Between the call and th... |
NEAR Announces $800 Million in Funding Initiatives To Support Ecosystem Growth
NEAR FOUNDATION
October 25, 2021
The NEAR ecosystem is announcing a monumental $800 million in funding initiatives targeted at accelerating growth.
The announcement, which includes the $350 million in funding announced by Proximity Labs la... |
---
title: Contact Us
description: How to contact humans working on NEAR.
sidebar_position: 4
---
NEAR is primarily community centered, so the best way to contact somebody with knowledge about NEAR when you have questions or suggestions is within the NEAR community:
- [Discord](https://discord.com/invite/UY9Xf2k)
- [... |
---
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... |
---
NEP: 0
Title: NEP Template
Authors: Todd Codrington III <satoshi@fakenews.org>
Status: Approved
DiscussionsTo: https://github.com/nearprotocol/neps/pull/0000
Type: Developer Tools
Version: 1.1.0
Created: 2022-03-03
LastUpdated: 2023-03-07
---
[This is a NEP (NEAR Enhancement Proposal) template, as described in [NE... |
```js
const nftTokenId = "1";
Near.call([{
contractName: nftContract,
methodName: 'nft_transfer_call',
args: {
receiver_id: keypomContract,
token_id: nftTokenId,
msg: dropId.toString()
},
deposit: "1",
gas: "300000000000000"
}]);
``` |
Architecture of a distributed music streaming application
COMMUNITY
April 10, 2020
In our Reddit/r/NEARProtocol AMA with Audius’s CEO on April 10th, 2020, we will discuss the opportunities for musicians to monetize on blockchain applications better.
Disclaimer: Audius is not built using NEARProtocol. Our discussion is... |
NEAR Foundation Funding Team Report: September 2022
NEAR FOUNDATION
November 18, 2022
Welcome to the NEAR Foundation Funding Team Report that captures and highlights data for the month of September 2022. The purpose of this document is to provide transparency regarding what happened during the last month in our Funding... |
---
id: enumeration
title: Enumeration
sidebar_label: Enumeration
---
import {Github} from "@site/src/components/codetabs"
In the previous tutorials, you looked at ways to integrate the minting functionality into a skeleton smart contract. In order to get your NFTs to show in the wallet, you also had to deploy a patch... |
# Financial Transaction
Suppose Alice wants to transfer 100 tokens to Bob.
In this case we are talking about native Near Protocol tokens, oppose to user-defined tokens implemented through a smart contract.
There are several way this can be done:
- Direct transfer through a transaction containing transfer action;
- Al... |
# Bindings Specification
This is the low-level interface available to the smart contracts, it consists of the functions that the host (represented by
Wasmer inside near-vm-runner) exposes to the guest (the smart contract compiled to Wasm).
Due to Wasm restrictions the methods operate only with primitive types, like `... |
How do Randomness Beacons based on Threshold Signatures work?
COMMUNITY
February 25, 2020
Introduction
Back in 2015, DFinity made the community extremely excited with their design of a randomness beacon that was leveraging BLS threshold signatures to produce a randomness output that is both unbiased and unpredictable.
... |
NEAR Powers Voting for the Djooky Music Awards
NEAR FOUNDATION
April 4, 2023
The world of music and the blockchain is about to get a lot more exciting and promising thanks to Djooky and NEAR. The ongoing Djooky Music Awards (DMA) for undiscovered artists will feature on-chain voting mechanisms powered by NEAR, allowing... |
# NEAR Protocol Specifications and Standards
[](https://near.zulipchat.com/#narrow/stream/320497-nep-standards)
[](https://github.com/near/NEPs/actions/workflows/build.y... |
---
title: 1.1 The History of the Internet
description: Review of the history of the internet and its revolutions to date.
---
# 1.1 Context: History of Internet and It’s Revolutions to Date
## Introduction
Understanding Crypto, and truly understanding the paradigm shift that crypto brings with it, starts by underst... |
```js
import { Wallet } from './near-wallet';
const TOKEN_CONTRACT_ADDRESS = "token.v2.ref-finance.near";
const wallet = new Wallet({ createAccessKeyFor: TOKEN_CONTRACT_ADDRESS });
await wallet.callMethod({
method: 'ft_transfer',
args: {
receiver_id: 'alice.near',
amount: '100000000000000000',
},
c... |
---
id: node-types
title: Node Types
sidebar_label: Node Types
sidebar_position: 2
description: Types of NEAR Nodes
---
You can run three different types of node - Validator Node, RPC Node, and Archival Node.
### Validator Node {#validator-node}
Validator nodes are the operators of the NEAR blockchain and are essent... |
Community Update: April 10th, 2020
COMMUNITY
April 10, 2020
Welcome NEAR Community,
We hope that everyone is doing well. You spoke, we listened. We’ve put together a series of interactive online events on topics you’ve let us know you want to learn more about, including Privacy and Blockchain, Decentralized Exchanges,... |
NEAR APAC Day 2 Recap: Asia Gaming Trends, Interoperability, and Web3 for Brands
COMMUNITY
September 10, 2023
It would’ve been hard to imagine topping a jam-packed Day 1 of NEAR APAC, but Day 2 managed to do just that. The gorgeous Sunday in Saigon covered a wide range of topics, including significant discussions on th... |
---
title: 2.1 The Evolution of Blockchain
description: The World of dApps and the Universe of Chains
---
# 2.1 The World of dApps and the Universe of Chains: The Evolution of ‘blockchain’
[Writing this lecture during the FTX Nuke event, November 9th, 2022, Denver, CO]
## Introduction
This module introduces the ... |
---
NEP: 178
Title: Non Fungible Token Approval Management
Author: Chad Ostrowski <@chadoh>, Thor <@thor314>
DiscussionsTo: https://github.com/near/NEPs/discussions/178
Status: Final
Type: Standards Track
Category: Contract
Created: 03-Mar-2022
Requires: 171
---
## Summary
A system for allowing a set of users or cont... |
---
title: Behavioral Interview Questions
sidebar_label: Behavioral Interview Questions
sidebar_position: 4
---
## What are Behavioral Interview Questions?
Behavioral interview questions are those that focus on how a candidate has handled various situations in the workplace and reveal character traits, abilities, and... |
Introducing NearPay: the First Bridge to Fiat Debit Card on NEAR
COMMUNITY
March 8, 2022
Web3 users looking for an easy bridge between fiat (currencies like the US Dollar and the Euro) and crypto needn’t wait any longer. NearPay, the first debit card and payments widget in the NEAR ecosystem, now bridges fiat and the c... |
---
id: indexing
title: Indexing Solutions on NEAR
sidebar_label: "Indexing Solutions"
---
# Indexing Solutions on NEAR
Here's a quick overview of Indexer projects on the NEAR ecosystem:
- [QueryAPI](../2.build/6.data-infrastructure/query-api/intro.md): Near QueryAPI is a fully managed solution to build indexer func... |
# Multi Token
:::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
A standard interface for a multi token standard that supports fungible, semi-fungible,non-fungible, and tokens of any type, allowin... |
import DocCardList from '@theme/DocCardList';
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';
# Non-Fungible Tokens
<DocCardList items={useCurrentSidebarCategory().items}/>
|
TheFunPass™ Debuts at North America’s Largest Night Market with The Littles and NEAR
NEAR FOUNDATION
July 13, 2023
Everyone’s a winner playing carnival games thanks to TheFunPass™, a groundbreaking leap in Web3 that will redefine loyalty rewards and transform the way we engage and connect with events and experiences. F... |
P2P Validator Joins NEAR as a Node Operator
COMMUNITY
February 19, 2021
All decentralized platforms have their own disadvantages and difficulties that developers face when building decentralized applications. Ethereum scaling limitations and spiked transaction fees make operating dApps challenging, causing tangible lim... |
NEAR Community in Focus: The Future of Community on NEAR
COMMUNITY
June 23, 2022
What will the world look like 20 years from now? By then, Web3 will be mainstream rather than in its nascent stages. It will be reality, not hype. So how can the NEAR community work towards a future that makes everyone proud?
One question... |
Interaction with NEAR is done with [JSON RPC API](../../5.api/rpc/introduction.md) via HTTP calls.
With the API, you can call smart contracts, send transactions, manage keys and get information about blockchain data and status.
The NEAR CLI abstracts some actions, such as deploying a contract, but eventually, all act... |
```bash
export COUNCIL='["bob.near"]'
export ARGS=`echo '{"config": {"name": "Primitives", "purpose": "Building primitives on NEAR", "metadata":""}, "policy": '$COUNCIL'}' | base64`
near call sputnikv2.testnet create "{\"name\": \"primitives\", \"args\": \"$ARGS\"}" --accountId bob.near --amount 6 --gas 1500000000000... |
---
id: marketplace
title: Integrating FT Payments into an NFT Marketplace
sidebar_label: Adding FTs to a Marketplace
---
import {Github} from "@site/src/components/codetabs"
In this tutorial, you'll learn the basics of how an NFT marketplace contract works and how you can modify it to allow for purchasing NFTs using ... |
---
sidebar_position: 3
title: "Nesting"
---
# Collections Nesting
<!-- TODO --> |
BitGo Becomes First Qualified Custodian to Support NEAR Protocol and its Assets
COMMUNITY
July 19, 2022
NEAR Foundation is excited to announce its partnership with BitGo, the leader in digital asset financial services, to create secure custodial support on the Protocol. This partnership will enable institutions to cust... |
---
title: 5.4 Network States and the Future of Governance
description: Defining and understanding the network state and its implications
---
# 5.4 Network States and the Future of Governance
The final lecture of the DAO module, focuses on one of the most exciting and disruptive concepts surrounding decentralized gov... |
---
id: unit-test
title: Unit Testing
#sidebar_label: 🧫 Unit Testing
---
import {CodeTabs, Language, Github} from "@site/src/components/codetabs"
Unit tests allow you to test the contract methods individually. They are suitable to check the storage is updated correctly, and that methods return their expected values. ... |
---
title: Best Practices
description: Playbook for NEAR development at every stage
sidebar_position: 2
---
# Best Practices
## Pre-Development
* Understand NEAR Protocol: Get acquainted with the NEAR protocol by reading the “[NEAR Whitepaper](https://near.org/papers/the-official-near-white-paper)” and to learn ... |
---
sidebar_position: 3
---
# Build
> Creating Decentralized Frontends and components w/ BOS Web Engine
A BWE component looks, for the most part, like a standard React component. There are some syntactical variations and essential enhancements to adapt seamlessly to the engine's framework.
## Terms
- **Outer Windo... |
---
id: royalty
title: Royalty
sidebar_label: Royalty
---
import {Github} from "@site/src/components/codetabs"
In this tutorial you'll continue building your non-fungible token (NFT) smart contract, and learn how to implement perpetual royalties into your NFTs. This will allow people to get a percentage of the purchas... |
---
description: Frequently asked questions about NEAR
title: FAQs
sidebar_position: 6
---
---
### What is NEAR?
It’s a decentralized application platform running on its own blockchain, that solves usability and scaling via sharding.
### What is The Difference Between Pagoda (formerly NEAR Inc) and The NEAR Protoco... |
NEAR Community Update: February 28th, 2020
COMMUNITY
February 28, 2020
Welcome to the NEAR community update!
In this community update, we want to introduce Stardust, which is one of the projects that is building on NEAR. The Stardust API just went live, and within a few weeks of its launch, they are already supporting... |
NEAR Foundation Partners with Hibiki Run on Open Web Digital Gachapon
NEAR FOUNDATION
July 5, 2023
NEAR Foundation is thrilled to announce a new strategic partnership with Hibiki Run, a platform lying at the nexus of innovation in music streaming and digital collectibles. Hibiki Run is revolutionizing music discovery b... |
An Update On the NEAR Validator Upgrade
DEVELOPERS
January 28, 2022
At NEAR Foundation, our goal has always been to provide the best experience for validators, delegators, community members, and project builders. As part of NEAR Protocol’s goal to increase the number of validators securing the network and improve decen... |
NEAR.ai → NEAR Protocol
COMMUNITY
August 23, 2018
A bit more than a year ago Alexander Skidanov and I started NEAR.ai. We strongly believed that program synthesis, the field that studies automated programming from a human specification, was going to transform software development and the world in general.
Program syn... |
NEAR & Social Good: Bringing Web3 to the Fringes
COMMUNITY
July 21, 2022
Web3 is sometimes labeled niche and even elitist. Blockchain products can be costly, difficult to understand, and not everyone has easy access to the space. Think NFTs and their explosion. Media coverage would suggest a subculture where only celeb... |
NEAR at ETHCC: Step into the Open Web on the BOS
NEAR FOUNDATION
June 13, 2023
NEAR Foundation is excited to announce that NEAR will be returning to ETHCC 2023. The Foundation will be hosting a 2-day side event at the Paris tech conference on July 16-17.
NEAR experts will be on hand at ETHCC to share the latest update... |
---
sidebar_position: 6
---
# Tools
Currently, the only tool which supports authoring and publishing BWE components is the BWE sandbox. This is a web-based development environment built by the BWE team at Pagoda.
The sandbox can be found at [bos-web-engine-sandbox.vercel.app](https://bos-web-engine-sandbox.vercel.ap... |
---
id: account-model
title: NEAR Accounts
sidebar_label: Overview
---
Users participate in the NEAR ecosystem through their NEAR accounts. These accounts are identified by a [unique address](./account-id.md), can optionally hold a [smart contract](./smart-contract.md), and are controlled through [Access Keys](./acces... |
Coin98 Launches Decentralized Dapp Store for its 7 Million Users on NEAR’s Blockchain Operating System (B.O.S)
NEAR FOUNDATION
November 2, 2023
Coin98, the multichain wallet and DeFi platform, has today launched a decentralized dapp store for its 7 million users across 170 countries, built on NEAR.
The company behind... |
NEARCON ’23: Developer, Founder, and Creative Talks You Shouldn’t Miss
NEAR FOUNDATION
October 31, 2023
NEARCON ’23 in scenic Lisbon, Portugal is your go-to event for everything AI, the open web, and more. Whether you’re a developer, entrepreneur, or artist, there’s a session for you. Web3 regulatory aficionados, we’ve... |
---
id: introduction
title: About JS SDK
---
JavaScript is the most popular programming language, used by nearly 14 million developers worldwide. You can write smart-contracts in JavaScript or Typescript, and our SDK will pack them with a lightweight runtime. This can then be compiled into a single Wasm file that can ... |
Staking Rewards are now live on NEAR
COMMUNITY
October 21, 2020
Just one week after the NEAR community voted to enter Phase 2, NEAR Validators completed a major milestone: the upgrade to enable inflationary rewards. Now all NEAR token holders have the opportunity to earn Staking rewards from the network.
NEAR Protocol... |
NEAR MetaBUILD 2: Join the Hackathon and Build an App
DEVELOPERS
December 21, 2021
NEAR MetaBUILD 2, a hackathon series where anyone can start building an app on NEAR, is nearly upon us. The first edition, held August 27th to September 19, was a smashing success, with a number of winners and prizes for work hacks, play... |
Introducing 4 NEAR apps at Consensus Distributed
COMMUNITY
May 6, 2020
It’s only halfway through the week and it’s been busy at NEAR — the just-announced MainNet has now produced over 1.5 million blocks since genesis and we’ve hosted over a dozen talks, workshops and events as part of organizing the epic Ready Layer On... |
---
id: marketplace
title: Marketplace
sidebar_label: Marketplace
---
import {Github} from "@site/src/components/codetabs"
In this tutorial, you'll learn the basics of an NFT marketplace contract where you can buy and sell non-fungible tokens for $NEAR. In the previous tutorials, you went through and created a fully f... |
NEAR Foundation’s Response to the UK Crypto Asset Consultation
NEAR FOUNDATION
May 3, 2023
Introduction
The NEAR Foundation (the “Foundation”) submits this letter in response to the consultation and call for evidence by His Majesty’s Treasury (“HMT”), concerning the ‘Future Financial Services Regulatory Regime for Cryp... |
NEAR at Consensus: Get Started on the Blockchain Operating System
NEAR FOUNDATION
April 3, 2023
NEAR Foundation is excited to announce that NEAR is heading to the 2023 edition of Coindesk’s Consensus from April 26-28.
NEAR has a massive base at this year’s Consensus, from which we will introduce devs and end users to... |
Near Announces the Blockchain Operating System
NEAR FOUNDATION
March 2, 2023
Near announced today that it is becoming the Blockchain Operating System (BOS). The BOS is an industry-first category: a common layer for browsing and discovering open web experiences, compatible with any blockchain.
The Blockchain Operating... |
Community Update: June 19th, 2020
COMMUNITY
June 19, 2020
Summer is knocking on the door and we are getting NEAR ready for the next steps of decentralizing MainNet and our community efforts. We have already accepted over 20 communities into our Guild Program, who are now starting local community initiatives including A... |
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
<Tabs className="file-tabs">
<TabItem value="near-api-js" label="near-api-js">
```js
import { KeyPair } from 'near-api-js';
const newKeyPair = KeyPair.fromRandom('ed25519');
newKeyPair.public_key = newKeyPair.publicKey.toString();
```
</TabItem>... |
International Cricket Council and NEAR Foundation Sign Multiyear Partnership to Boost Global Fan Engagement Through Web3
NEAR FOUNDATION
September 27, 2023
The International Cricket Council (ICC) and the NEAR Foundation are entering into a groundbreaking new partnership that will utilize Web3 tools built on the NEAR Bl... |
Berry Cards: a DeFi NFT Marketplace for Pixel Art
CASE STUDIES
March 18, 2021
A few of the most highly valued Berry Cards NFTs
What are Berry Cards?
Berry Cards is a marketplace for pixel art NFTs, which runs on the NEAR protocol, allowing people to buy artwork created with Berry Club. People buy the cards they like us... |
```js
import { Wallet } from './near-wallet';
const KEYPOM_CONTRACT_ADDRESS = "v2.keypom.near";
const NFT_CONTRACT_ADDRESS = "nft.primitives.near";
const DROP_AMOUNT = "10000000000000000000000";
const keypomConnectedWallet = new Wallet({ createAccessKeyFor: KEYPOM_CONTRACT_ADDRESS });
const nftConnectedWallet = ne... |
```rust
#[derive(Serialize, Deserialize)]
#[serde(crate = "near_sdk::serde")]
pub struct PoolInfo {
/// Pool kind.
pub pool_kind: String,
/// List of tokens in the pool.
pub token_account_ids: Vec<AccountId>,
/// How much NEAR this contract has.
pub amounts: Vec<U128>,
/// Fee charged for swap.
pub tota... |
Transitioning NEAR MainNet to the Next Phase: It is Time to Stake, Delegate and Vote
COMMUNITY
September 15, 2020
As announced in April by this roadmap blog post, NEAR is entering into Phase I, called “MainNet Restricted.” This transition will be complete on September 24th.
Since August, a decentralized set of validat... |
- Proposal Name: `wasm_bindings`
- Start Date: 2019-07-22
- NEP PR: [nearprotocol/neps#0000](https://github.com/near/NEPs/blob/master/nep-0000-template.md)
# Summary
[summary]: #summary
Wasm bindings, a.k.a imports, are functions that the runtime (a.k.a host) exposes to the Wasm code (a.k.a guest) running on the virt... |
NEAR Q2 Protocol Roadmap Update
COMMUNITY
August 9, 2023
The Q1 protocol roadmap update was well received by the community. Pagoda committed to continuing to share quarterly roadmap updates, so here is the update for Q2 2023.
What the protocol team accomplished in Q2
Pagoda made good progress on the protocol roadmap ... |
---
id: meta-transactions
title: Building a Meta Transaction Relayer
sidebar_label: Meta Transaction Relayers
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
import {CodeTabs, Language, Github} from "@site/src/components/codetabs"
Relayers serve to delegate gas fees to a web service, allowing... |
# Fungible Token
## [NEP-141](https://github.com/near/NEPs/blob/master/neps/nep-0141.md)
Version `1.0.0`
## Summary
A standard interface for fungible tokens that allows for a normal transfer as well as a transfer and method call in a single transaction. The [storage standard](../../StorageManagement.md) addresses t... |
```bash
near call tkn.near create_token '{"args":{"owner_id": "bob.near","total_supply": "1000000000","metadata":{"spec": "ft-1.0.0","name": "Test Token","symbol": "TTTEST","icon": "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7","decimals": 18}},"account_id": "bob.near"}' --gas 30000000... |
---
id: advanced-xcc
title: Complex Cross Contract Call
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
import {CodeTabs, Language, Github} from "@site/src/components/codetabs"
This example presents 3 instances of complex cross-contract calls. Particularly, it shows:
1. How to batch multiple... |
NEAR Foundation Launches NEAR Horizon
NEAR FOUNDATION
April 26, 2023
Though there have been recent signs of crypto winter thawing, developers have continued to make the most of the current builder’s market. NEAR, in particular, has seen significant growth in new projects and increased adoption over the past year.
NE... |
NEAR Integrates Wormhole to Launch ZK-Enabled Cross-Chain Communication with Ethereum
NEAR FOUNDATION
May 16, 2023
Driving the evolution of Web3 through innovation and interoperability, bridging technology has become a critical factor in user adoption and functionality. NEAR Foundation has chosen to bolster its multi-c... |
NEAR Foundation Backs Hydra Ventures to Create Web3’s First ‘Fund of Funds’ Investment DAO
NEAR FOUNDATION
March 29, 2023
NEAR Foundation is excited to announce that it has joined Hydra Ventures, a “fund of funds” investment DAO. A first in the Web3 space, Hydra Ventures is designed to help other investment DAOs get of... |
NEAR & Social Good: A Deep Dive Into Open Forest Protocol
COMMUNITY
July 25, 2022
Humans are waking up to the ecological and psychological benefits of forests. And if civilization is to tackle climate change, then protecting and regenerating forests is one incredibly important tactic.
But slow and complicated process... |
---
title: DAO Legal Discussion
description: Guidance to setting up a DAO without running into any legal issues
---
# DAO Legal Discussion
Guidance to setting up a DAO without running into any legal issues
:::info on this page
* A Decentralized Autonomous Organization (DAO) is not a recognized legal entity type in a... |
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
<Tabs groupId="nft-contract-tabs" className="file-tabs">
<TabItem value="NFT Primitive" label="Reference" default>
```js
const tokenData = Near.view("nft.primitives.near", "nft_token", {
token_id: "1",
});
```
<details>
<summary> Example respon... |
---
description: Secure way to lock NEAR tokens for a period of time
title: Token Launch Considerations
---
# Launching a Token: Key Considerations:
Launching a token for the first time is a make it or break-it moment for your project. Failing to prepare for a token launch can ruin years of product and business devel... |
Mantle Ecosystem Gateway Launches on the NEAR Blockchain Operating System (B.O.S)
NEAR FOUNDATION
September 20, 2023
An ecosystem gateway for Mantle, the layer-2 scaling solution built on Ethereum, has launched on the NEAR Blockchain Operating System (B.O.S) to offer a unified point of entry into the Mantle ecosystem. ... |
---
id: events
title: Events
sidebar_label: Events
---
import {Github} from "@site/src/components/codetabs"
In this tutorial, you'll learn about the [events standard](https://nomicon.io/Standards/Tokens/NonFungibleToken/Event) and how to implement it in your smart contract.
## Introduction
To get started, either s... |
# Architecture
### BOS Component Loading
BOS Components are loaded in BOS Web Engine by way of a client-side pipeline, responsible for BOS Component source
fetching, TSX transpilation, and Component composition. A web worker services requests from the outer application to
load new Components, caching the Component sou... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.