jcarbonnell/preTrainingNEAR huggingface dataset:
NEARcon Zero
COMMUNITY
January 31, 2020
Welcome to the NEAR Community!
(Or welcome back if you’ve been with us for a while)

We are really excited to share with you the latest developments in the NEAR ecosystem. The NEAR Core Contributors are currently gathering in Argentina for NEARCon Zero: two weeks of hacking, strategy and, of course, some sightseeing.

The growth of the NEAR collective and community opens up a lot of new doors between teams and with external contributors. Ultimately, we want to get lots of enthusiastic and bright people involved in our journey of developing NEAR. We are taking these two weeks to figure out the best strategy for growing the NEAR family and improving our communication.

The most important development will be us moving internal and external communication into a public forum. This change will not happen in one day, but will be a continuous process. We just launched it, so be nice!

The forum has been developed in collaboration with the commonwealth.im team. Please let us know if you have any feedback, ideas for features or want to share your thoughts.

You’ll also notice we’re making these updates shorter. If you like the original format, please let us know in the forum!

Here’s a pic from the crew taking over a whole restaurant for dinner 🍽.

Engineering: Doomslug has shipped!

Doomslug is a construction that allows finalizing blocks for most practical purposes in a single round of communication, while still getting full BFT finality after two rounds of communication.

To learn more about Doomslug head over to the research paper and our blog. If you’re new to the community, you might wonder why this matters. The primary reason this is important is that it’s safe and it’s fast. In a lot of cases, you need to pick one. You can see an artist’s rendition of doomslug below.

Finally, we want to highlight the use cases Flux shared this week. Flux is one of the projects building on NEAR. They are publishing new Twitter threads every Friday, so make sure to follow them.

Upcoming Events 
We are going to be at ETHDenver between the 14th and 16th of February
And at the same time, you can meet us at SF Developer Week Expo and Hackathon
Once again, if you’re a developer, student, or entrepreneur interested in joining us at DevWeek2020, fill out this brief survey for a chance to get some free tix.

Pic below: The kickoff presentation for NEARcon Zero
---
id: staking-pool-migration
title: Upgradeable Staking Pool
sidebar_label: Upgradeable Staking Pool
sidebar_position: 7
---

#  Upgradeable Staking Pool

NEAR Protocol is launch an upgradeable staking pool contract with features include:
- Upgradeability
- Stake farming

In the future, this upgradeable staking pool contract will also support action to stake to Chunk-Only Producers. The upgradeable staking contract's name on Testnet is `factory01.littlefarm.testnet`. The contract name on Mainnet is `pool.near`.

### Deploy a New Staking Pool Contract
Calls the staking pool factory, creates a new staking pool with the specified name, and deploys it to the indicated accountId.

For Testnet: (This call will not work as the `code_hash` has not been added to the factory. Please stay tuned for announcement when this contract is ready.)

```
near call factory01.littlefarm.testnet  create_staking_pool '{"staking_pool_id": "<poolId>", "owner_id": "<accountId>", "stake_public_key": "<public key in validator.json>", "reward_fee_fraction": {"numerator": 5, "denominator": 100}, "code_hash": "GGfKUF9TuAFN4AzbecPonNGuRTuVqx8UPXmViogN8pRm"}' --accountId="<accountId>" --amount=4 --gas=300000000000000
```

For Mainnet:

```
near call pool.near create_staking_pool '{"staking_pool_id": "<poolId>", "owner_id": "<accountId>", "stake_public_key": "<public key>", "reward_fee_fraction": {"numerator": 5, "denominator": 100}}' --accountId="<accountId>" --amount=4 --gas=300000000000000
```

In the example above, you need to replace:

* **Pool ID**: Staking pool name, the factory automatically adds its name to this parameter, creating {pool_id}.{staking_pool_factory}. Let's take `aurora` as an example:   
   - `aurora.factory01.littlefarm.testnet` for testnet
   - `aurora.pool.near` for mainnet
* **Owner ID**: The NEAR account that will manage the staking pool. Usually your main NEAR account.
* **Public Key**: The public key in your **validator_key.json** file.
* **5**: The fee that the pool will charge (e.g. in this case 5 over 100 is 5% of fees).
* **Account Id**: The NEAR account deploying the staking pool.

> Be sure to have at least 4 NEAR available, it is the minimum required for storage in the new pool contract.

Once a new staking pool is deployed and associated now with the new node, you can start the stake migration to the new pool. To migrate stake, take a look at the [Stake and Delegation page](/validator/staking-and-delegation).

### Submit a Proposal
In order to have a validator seat, you must submit a proposal with a ping. A ping issues a new proposal and updates the staking balances for your delegators. A ping should be issued each epoch to keep reported rewards current.

Command:
```
near call <staking_pool_id> ping '{}' --accountId <accountId> --gas=300000000000000
```



>Got a question?
<a href="https://stackoverflow.com/questions/tagged/nearprotocol">
  <h8>Ask it on StackOverflow!</h8></a>
---
title: Mutli-Chain
description: Overview of how any chain can deploy a front-end on NEAR BOS
sidebar_position: 12
---

# ETH &lt;&gt; NEAR: BOS as an Ethereum Developer 




## Ethereum on BOS: An Overview

The Blockchain Operating System (BOS) is a cutting-edge protocol for designing and deploying decentralized front-ends on the blockchain. BOS aims to transform the development and user experience of decentralized applications (dApps) with its multi-chain capabilities, supporting both NEAR and Ethereum blockchains.

This means application developers can seamlessly build and connect their dApps to smart contracts on either blockchain, enhancing their Ethereum applications with BOS's decentralized capabilities using NETH remote accounts and popular Ethereum libraries like ethers.js.

### Create Decentralized Front-ends and Sign Transactions with Ethereum MetaMask Wallet

Ethereum developers can leverage their existing Ethereum accounts and MetaMask wallets to establish remote NEAR accounts using NETH. NETH serves as a bridge contract connecting existing Ethereum accounts to new NEAR accounts, enabling developers to sign NEAR transactions with MetaMask wallets.

To publish your component, simply log in to your MetaMask account using the wallet selector and sign the transaction.

### Interact with Ethereum Contracts via ethers.js Integration

The BOS Virtual Machine is compatible with the ethers.js library, allowing developers to execute read-only and state-changing calls from their components, just as they would in any JavaScript application.

Explore the [Lido example](https://docs.near.org/discovery/tutorial/lido), which employs the ethers.js library.
```js
import { Wallet } from './near-wallet';

const wallet = new Wallet({});

const args = {
  args: {
    owner_id: "bob.near",
    total_supply: "1000000000",
    metadata: {
      spec: "ft-1.0.0",
      name: "Test Token",
      symbol: "test",
      icon: "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",
      decimals: 18,
    },
  },
  account_id: "bob.near",
};

await wallet.callMethod({
  method: 'create_token',
  args,
  contractId: "tkn.near",
  gas: 300000000000000,
  deposit: "2234830000000000000000000"
});
```
_The `Wallet` object comes from our [quickstart template](https://github.com/near-examples/hello-near-examples/blob/main/frontend/near-wallet.js)_
NEAR Joins Multichain To Bring More Cross-Chain Capabilities to the Ecosystem
COMMUNITY
June 10, 2022
NEAR Foundation is excited to announce the NEAR blockchain will be integrated into the Multichain ecosystem, opening the door for thousands of tokens to interact with the NEAR ecosystem seamlessly. 

Multichain is a cross-chain router protocol on a mission to be the ultimate router for Web3. Since its inception in 2020, it has helped bridge more than $80 billion worth of assets across 52 blockchains and nearly 2,000 different currencies. In addition to token interoperability, Multichain allows messages and contract calling to take place across chain with its anyCall feature. Projects such as Hundred Finance have used this feature to create cross-chain DAOs.  

The NEAR blockchain will join other projects including Aurora, Avalanche, BNB Chain, Bitcoin, Celo, Ethereum, Oasis, Polygon, and a host of others. 

“NEAR’s mission is to help onboard a billion users into Web3,” says Marieke Flament, CEO of NEAR Foundation. “We believe the best way to do that is to create a seamless experience for users by weaving together different chains allowing users to easily and quickly connect and use other networks.”

The NEAR ecosystem already has a number of bridges to other networks. Rainbow Bridge allows assets to move between NEAR, Aurora, and Ethereum with little more than a few clicks. The Octopus Network allows appchains from Polkadot to run on NEAR’s simple, secure, and scalable blockchain. 

The addition of Multichain extends this interoperability to the broader ecosystem, giving users more choice and developers greater freedom.  

“We share a common vision with NEAR that we are going to promote and push the boundaries of the multi-chain era,” said Zhaojun, Co-Founder & CEO of Multichain. “Multichain will facilitate communication and interoperability between NEAR and other networks. Really excited to hold hands with NEAR towards the multi-chain future!”

Secure Bridge
While bridges have been in the news lately after a spate of recent hacks, Multichain is a leader when it comes to security. 

Multichain uses a non-custodial model and secure multi-party computation (MPC) to help guarantee the security of crypto assets, and has been audited by TrailOfBits, SlowMist and PeckShield. Security reports are available on the company’s github page. Multichain has also established a bug bounty scheme and security fund to incentivize valid bug reporting from communities. 

NEAR is now live on Multichain.
NEAR Foundation and MARBLEX to Expand Korea’s Web3 Gaming Industry with Aurora
NEAR FOUNDATION
June 4, 2023
NEAR Foundation is excited to announce a new strategic partnership with MARBLEX, a blockchain subsidiary of Netmarble Corp, that will help expand Korea’s Web3 gaming industry. MARBLEX will build on Aurora, NEAR’s Ethereum-compatible layer, for maximum scalability and blockchain gaming accessibility to onboard more players to Web3. 

Under the new partnership facilitated by the NEAR Korea Hub, NEAR Foundation and MARBLEX plan to achieve mutual growth by linking the NEAR blockchain and Aurora with WARP Bridge to enable interactive collaboration, promote global joint marketing events, and enhance brand awareness. 

Through WARP Bridge, competitive and casual gamers alike will now be able to enjoy a variety of games and exclusive content through NEAR’s Blockchain Operating System (BOS). The BOS leverages the NEAR Protocol’s fast transaction speeds as well as effortless scalability and onboarding (via FastAuth) to make the onboarding experience as easy as possible for the masses. 

MARBLEX: a developer and publisher of mobile games
A Web3 gaming giant constantly pushing the boundaries of what’s possible, MARBLEX is a well-established developer and publisher of mobile games with more than 6,000 experts from across the globe. MARBLEX’s goal is to bring the highest quality Web3 games to market by providing key services such as a cryptocurrency wallet, decentralized exchange, token staking, and an NFT Marketplace.

“We expect NEAR’s core narrative to play a pivotal role in bolstering the overall MBX 3.0 ecosystem,” said Junki Moon, Business Division Director of MARBLEX added. “Through the collaborative integration of the NEAR Foundation’s extensive technical expertise with the content prowess of the MBX ecosystem, we will maintain our position as pioneers in the ever-evolving landscape of the global blockchain trends.”
Robbie Lim, GM of Business Development at NEAR Foundation, added: “This collaboration with MARBLEX will be an important milestone in promoting various use cases based on BOS (Blockchain Operating System). We will continuously advance the gaming ecosystem of NEAR Protocol as well as attract numerous users to enter the Web3 scene by onboarding high-quality MBX content.”

NEAR Korea Hub, which oversees business development in Korea and Asia, played a key role in this strategic partnership. The Hub also sees the partnership as breaking a barrier to Web3 entry for mobile gamers. 

“NEAR Protocol provides a user experience similar to Web2 using Fast Auth account abstraction feature, greatly lowering the initial entry barrier to Web3,” said a spokesperson from NEAR Korea Hub. “We will continue to strongly partner with excellent domestic companies such as MARBLEX to implement a user-centered ecosystem where users can easily enjoy all services.”
How GLASS is Uncorking Adult Beverage Loyalty with Web3 and NEAR
NEAR FOUNDATION
August 10, 2023
GLASS, the world’s first compliant Web3 community and loyalty platform for the $1.6 trillion alcohol industry, is deploying on the NEAR blockchain to engage social drinkers. Founded by Zoe Leavitt, who formerly led early-stage social and entertainment investing for the VC arm of AB InBev, the world’s largest beer company, and serial blockchain entrepreneur and compliance tech expert Calvin Pak, GLASS redefines the ways alcohol brands connect with consumers during social occasions.

GLASS’s compliance infrastructure allows wine, beer, and spirits brands to directly engage social drinkers, introducing groundbreaking innovation to an industry navigating strict legal restrictions when it comes to sales and marketing.

Rather than spending seven million dollars on a 30-second Super Bowl ad spot, what if alcohol brands could send drinks directly to over four hundred thousand fan watch parties? Tapping into Web3, this is the future that GLASS plans to create. Brands on GLASS use tokens to incentivize fans to try new cocktail recipes, socialize with friends, vote on brand decisions, and more; and fans can use those tokens to unlock exclusive rewards and experiences. 

Prominent brands stir up social engagement with GLASS
Premium alcohol brands are already live on this groundbreaking new platform. These include premium Italian winemaker Lyons Wine; Talkhouse Encore, the canned cocktail brand affiliated with legendary music hall The Stephen Talkhouse; Hotaling & Co’s Fiero Tequila, the spiciest infused tequila in the US; and Junipero Gin, the original American craft gin. Each brand is prepped to offer its customers unique rewards — from exclusive merchandise to money-can’t buy-experiences on Web3 with GLASS and the NEAR blockchain. 

“We see great potential in building the Lyons Wine community on GLASS,” said Lyons Wine CEO and founder Chris Lyons. “Lyons Wine has always been driven by community and innovation, and we’re excited to leverage web3 to bring exclusive rewards to our network through this platform.”

Through upcoming integrations with alcohol e-commerce and point-of-sale platforms, GLASS members will be able to track purchases and earn for purchasing as well as socializing — in ways that comply with each member’s local regulations. From the bar, to the friend’s house, to the stadium, GLASS creates a unified platform for fans and brands to engage across the full universe of social occasions.   

“We’re excited to use this new platform to engage and grow the Fiero Tequila community of ‘heat seekers’ who rally around the spiciest infused tequila in the U.S,” said Jordan Parker, Head of Marketing for the Agave Portfolio at Hotaling & Co. “The platform will help us bring our community together around the unique, social activations that Fiero has planned.”

GLASS will continue to announce new brand partnerships and roll out new features throughout the summer and fall. Consumers can sign up directly at www.glass.fun to start earning tokens today.