repoName stringlengths 7 77 | tree stringlengths 0 2.85M | readme stringlengths 0 4.9M |
|---|---|---|
near_abomonation_derive | .github
ISSUE_TEMPLATE
BOUNTY.yml
.travis.yml
Cargo.toml
src
lib.rs
tests
test.rs
| |
Learn-NEAR_NCD--near-idea | .eslintrc.js
.gitpod.yml
README.md
contract
README.md
as-pect.config.js
asconfig.json
assembly
__tests__
as-pect.d.ts
main.spec.ts
as_types.d.ts
index.ts
model.ts
tsconfig.json
compile.js
neardev
dev-account.env
package-... | near-idea Smart Contract
==================
A [smart contract] written in [AssemblyScript] for an app initialized with [create-near-app]
Quick Start
===========
Before you compile this code, you will need to install [Node.js] ≥ 12
Exploring The Code
==================
1. The main smart contract code lives in `asse... |
lamtran8401_ts-contract | .gitpod.yml
README.md
contract
README.md
babel.config.json
build.sh
build
builder.c
code.h
contract.js
methods.h
deploy.sh
neardev
dev-account.env
package.json
src
contract.ts
token.ts
type.ts
tsconfig.json
frontend
... | near-blank-project
==================
This app was initialized with [create-near-app]
Quick Start
===========
If you haven't installed dependencies during setup:
npm install
Build and deploy your contract to TestNet with a temporary dev account:
npm run deploy
Test your contract:
npm test
If you ha... |
NearDeFi_wrapped-ft | Cargo.toml
README.md
build.sh
src
lib.rs
| ## Example with wNEAR on testnet
* `$CONTRACT_ID` - the account ID of the new token fNEAR
* `$OWNER_ID` - the account ID of the controller/owner.
* `wrap.testnet` - the token ID that is being wrapped/locked. wNEAR is used for the example.
* `$ACCOUNT_ID` - the account ID of a test account.
#### Init
```bash
near cal... |
liamvwood_zero-to-hero_near | Cargo.toml
README.md
build.bat
build.sh
src
lib.rs
test.sh
| # Rust Smart Contract Template
## Getting started
To get started with this template:
1. Click the "Use this template" button to create a new repo based on this template
2. Update line 2 of `Cargo.toml` with your project name
3. Update line 4 of `Cargo.toml` with your project author names
4. Set up the [prerequisites... |
Learn-NEAR-Hispano_NCD4L1-OpinionTrust | 1.dapp.init.sh
README.md
as-pect.config.js
asconfig.json
assembly
__tests__
as-pect.d.ts
index.spec.ts
as_types.d.ts
index.ts
models
Category.ts
Comment.ts
Opinion.ts
Product.ts
User.ts
tsconfig.json
index.js
neardev
dev-account.env
node_mo... | [![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![Test coverage][coveralls-image]][coveralls-url]
[![Downloads][downloads-image]][downloads-url]
[](https://gitter.im/eslint/doctrine?utm_sourc... |
near-x_near-defi-recipes | .gitpod.yml
README.md
babel.config.js
contract
Cargo.toml
README.md
compile.js
src
lib.rs
package.json
src
App.js
__mocks__
fileMock.js
assets
logo-black.svg
logo-white.svg
config.js
global.css
index.html
index.js
jest.init.js
main.test... | defi-demo
==================
This [React] app was initialized with [create-near-app]
Quick Start
===========
To run this project locally:
1. Prerequisites: Make sure you've installed [Node.js] ≥ 12
2. Install dependencies: `yarn install`
3. Run the local development server: `yarn dev` (see `package.json` for a
f... |
frol_near-lake-nft-indexer | README.md
index.ts
package-lock.json
package.json
tsconfig.json
| # near-lake-nft-indexer
This is a source code for the tutorial "Building an NFT indexer" https://near-indexers.io/tutorials/lake/nft-indexer
This is an indexer built on top of [near-lake-framework-js](https://github.com/near/near-lake-framework-js).
It watches for the `nft_mint` following [Event Format](https://nomi... |
hasanozkul_Tas-Kagit-Makas | README.md
as-pect.config.js
asconfig.json
assembly
as_types.d.ts
main.ts
model.ts
tsconfig.json
package-lock.json
package.json
script.sh
src
index.js
| # Tas-Kagit-Makas (Rock-Paper-Scissors) as a NEAR contract
## Install dependencies
```
yarn
```
## Build and Deploy the contract
```
npx asb
near dev-deploy ./out/main.wasm
# save the contract id in your clipboard and send it to player 2
```
## How to Play
1. Player one call function `createGame` and send gameId to... |
here-wallet_locales | en.json
id.json
ru.json
| |
Na0xmi_Curataro- | .gitpod.yml
README.md
backend
server.js
contract
Cargo.toml
README.md
build.sh
deploy.sh
neardev
dev-account.env
src
lib.rs
target
.rustc_info.json
debug
.fingerprint
Inflector-7a6691166dde4b5a
lib-inflector.... | # Hello NEAR Contract
The smart contract exposes two methods to enable storing and retrieving a greeting in the NEAR network.
```rust
const DEFAULT_GREETING: &str = "Hello";
#[near_bindgen]
#[derive(BorshDeserialize, BorshSerialize)]
pub struct Contract {
greeting: String,
}
impl Default for Contract {
fn d... |
kkentup_near-design-market | .eslintrc.json
README.md
contract
__test__
test.ava.js
babel.config.json
jsconfig.json
package.json
src
design.ts
index.ts
report.ts
utils.ts
tsconfig.json
package.json
public
index.html
manifest.json
robots.txt
src
App.css
App.js
A... | # near-design-farmers'-market
**developed by wife and husband**
**1**\. To run this project is easy, you need run the following commands
**1.1** "npm install"
**1.2** "npm start"
Then you can open http://localhost:3000/ to see the app. Smart contract ("designmarket.kentup.testnet") currently deployed on testnet is ... |
here-wallet_near-swift-sdk | Package.swift
README.md
Sources
NearSwift
Account.swift
AccountCreator.swift
Connection.swift
Contract.swift
DefaultAuthService.swift
KeyStores
FileSystemKeyStore.swift
InMemoryKeyStore.swift
KeyStore.swift
MergeKeyStore... | # Near
[](https://travis-ci.com/nearprotocol/near-client-ios)
[](https://cocoapods.org/pods/nearclientios)
[.
## Data Collection
A script fetching the stats about the validators epoch by epoch (the number of produced blocks and the number o... |
mehtaphysical_near-react-hooks | .github
workflows
test.yml
README.md
docs
assets
css
main.css
js
main.js
search.js
enums
nearenvironment.nearenvironment-1.html
index.html
modules.html
modules
hooks.html
nearenvironment.html
nearprovider... | [](https://github.com/mehtaphysical/near-react-hooks/actions/workflows/test.yml)
[](https://github.com/st... |
guxal_rust-contract-test | Cargo.toml
README.md
build.bat
build.sh
src
lib.rs
test.sh
| # Rust Smart Contract Template
## Getting started
To get started with this template:
1. Click the "Use this template" button to create a new repo based on this template
2. Update line 2 of `Cargo.toml` with your project name
3. Update line 4 of `Cargo.toml` with your project author names
4. Set up the [prerequisites... |
keyko-io_contract-version-example | .github
workflows
build.yml
Cargo.toml
README.md
build.rs
rust-toolchain.toml
src
lib.rs
version.rs
tests
test_counter.rs
utils
mod.rs
| # Counter App
This is an example project to show how the [contract-version](https://github.com/nearcomponents/contract-version) library can be used. Please check that library for more details.
This contract has an internal counter that can be incremented, and also has a view method to show information gathered at com... |
mikedotexe_rust-contract-upgrades | add-map-iterated.sh
old-way
Cargo.toml
bloat.sh
build.sh
deploy.sh
new.sh
remake.sh
src
lib.rs
upgrade-way
Cargo.toml
README.md
add-version-2.sh
add-version-3.sh
bloat.sh
build.sh
clear-name.sh
deploy.sh
get-all.sh
get-current-version.sh
ne... | Reproduce:
### (Re)create account to deploy contract to
near delete upgrade.mike.testnet mike.testnet
~/near/near-shell/bin/near create_account upgrade.mike.testnet --masterAccount mike.testnet
### Checkout and build
git checkout version-1
./build.sh
### Export your testnet account as an environment variable
export ... |
evgenykuzyakov_nft-viewer | Cargo.toml
build.sh
res
index.html
src
lib.rs
web4.rs
| |
mikedotexe_near-debug-rust-u128 | Cargo.toml
README.md
build.sh
src
lib.rs
test.sh
| There seems to be an issue with u128.
Note the last three numbers change from 700 to 800 for no apparent reason.
This doesn't happen in the tests. (`./test.sh`)
Try:
`near view debug.mike.testnet small_u '{"val": 1906293427246306700}'`
and
`near view debug.mike.testnet big_u '{"val": "1906293427246306700"}'`
|
Graate-Org_NEAR-Block-Dice-UI | README.md
craco.config.js
package.json
public
index.html
manifest.json
robots.txt
src
App.js
assets
arrow.svg
avatar.svg
create.svg
dice.svg
github.svg
header.svg
join.svg
logo.svg
near.svg
winning.svg
config.js
... | # Getting Started with Create React App
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
## Available Scripts
In the project directory, you can run:
### `yarn start`
Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to vie... |
hermes1108_near-mighty-kernel-republic-nft-smart-contract | Cargo.toml
README.md
build.sh
neardev
dev-account.env
src
approval.rs
enumeration.rs
events.rs
internal.rs
lib.rs
metadata.rs
mint.rs
nft_core.rs
royalty.rs
util.rs
target
.rustc_info.json
release
.fingerprint
Inflector-eefff05c7d46c877
... | # TBD
|
hoangnhxda_NEARLend | .github
workflows
firebase-hosting-merge.yml
firebase-hosting-pull-request.yml
README.md
backend
expressjs
app.js
package-lock.json
package.json
public
stylesheets
style.css
routes
getprice.js
index.js
... | # Nearlend contact
## Development
### Build (optional)
Requires Rust and wasm32 target.
```bash
./build.sh
```
### Deploy on the testnet
Requires NEAR CLI to be installed.
```bash
./scripts/dev_deploy.sh
```
This will provide a list of exports at the end. Execute them to get the CLI ready for further transactio... |
hieple7985_guess-num-sm | .gitpod.yml
README.md
contract
Cargo.toml
README.md
src
lib.rs
frontend
App.js
__mocks__
fileMock.js
assets
css
global.css
img
logo-black.svg
logo-white.svg
js
near
config.js
u... | near-blank-project Smart Contract
==================
A [smart contract] written in [Rust] for an app initialized with [create-near-app]
Quick Start
===========
Before you compile this code, you will need to install Rust with [correct target]
Exploring The Code
==================
1. The main smart contract code liv... |
near-cli-rs_near-cli-rs.github.io | index.html
| |
nearprotocol_near-global-footer | README.md
footer.css
footer.txt
| # NEAR Global Footer
Provides a CDN-powered endpoint to access the HTML and CSS for the near.org footer for use throughout the ecosystem.
## Access
We use [Statically](https://statically.io/) to access these files and provide CDN functionality.
To access the latest from `main`:
- `https://cdn.statically.io/gh/near... |
paularah_thesis | .env
.gitpod.yml
README.md
babel.config.js
contract
README.md
as-pect.config.js
asconfig.json
assembly
__tests__
as-pect.d.ts
main.spec.ts
as_types.d.ts
index.ts
model.ts
tsconfig.json
compile.js
node_modules
@as-covers
... | # isarray
`Array#isArray` for older browsers.
[](http://travis-ci.org/juliangruber/isarray)
[](https://www.npmjs.org/package/isarray)
[ React 17, Parcel with useContext and useReducer
- Bundled with Parcel 2.0.1
- *Minimal all-in-one state management with async/await support*
## Getting Started: State Store & useContext
>The following steps are already done, but describe how to use `src/utils... |
near-everything_documentation | README.md
babel.config.js
docs
connecting
_category_.json
installation.md
contributing
_category_.json
setting-up-the-project.md
creating
_category_.json
create-media.md
create-thing.md
intro.md
playground
_category_.json
connec... | # Website
This website is built using [Docusaurus 2](https://docusaurus.io/), a modern static website generator.
### Installation
```
$ yarn
```
### Local Development
```
$ yarn start
```
This command starts a local development server and opens up a browser window. Most changes are reflected live without having t... |
Fudeveloper_crud-tutorial | README.md
package-lock.json
todos-crud-contract
as-pect.config.js
asconfig.json
assembly
__tests__
as-pect.d.ts
index.spec.ts
as_types.d.ts
index.ts
model.ts
tsconfig.json
index.js
neardev
dev-account.env
package-lock.json
... | # Getting Started with Create React App
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
## Available Scripts
In the project directory, you can run:
### `npm start`
Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view... |
frol_react-near-lockup | next-env.d.ts
next.config.js
package-lock.json
package.json
tsconfig.json
| |
isabella232_near-storage-dapp-demo | .eslintrc.yml
.github
workflows
deploy.yml
README.md
as-pect.config.js
asconfig.json
assembly
__tests__
as-pect.d.ts
tokenAssets.spec.ts
as_types.d.ts
main.ts
model.ts
tsconfig.json
babel.config.js
neardev
shared-test-staging
test.near.json
shared-test
... | # NEAR dApp + Filecoin Storage Demo
This project is an example of how to integrate Textile's Filecoin Storage into any
NEAR dApp using the Filecoin Storage library for NEAR, `@textile/near-storage`. The library interacts with
the `near-api-js` code you've already written to provide an easy to use API for storing any
a... |
near_borsh-js | .build_scripts
prepare-package-json.js
.eslintrc.yml
.github
ISSUE_TEMPLATE
BOUNTY.yml
workflows
borsh.yml
.travis.yml
LICENSE-MIT.txt
README.md
borsh-ts
.eslintrc.yml
buffer.ts
deserialize.ts
index.ts
serialize.ts
test
(de)serialize.test.js
.eslintrc.... | # Borsh JS
[](https://opensource.org/licenses/Apache-2.0)
[](https://opensource.org/licenses/MIT)
[]... |
nearwatch_nearwasmbot | .env
README.md
bot.js
methods.json
package.json
| ## Introduction
Telegram bot <a href="https://t.me/nearwasmbot">@nearwasmbot</a> helps extract methods list of NEAR account contract , get method result in one click and quickly share it in Telegram
<img src="https://telegra.ph/file/167e062dcda87d4a3414a.png" />
### Installation
```
$ npm install
```
### Launching
`... |
kmcodesdev_NFT-Contract-on-NEAR | .github
dependabot.yml
workflows
tests.yml
.gitpod.yml
Cargo.toml
README-Windows.md
README.md
build.bat
build.sh
flags.sh
nft
Cargo.toml
src
lib.rs
res
README.md
test-approval-receiver
Cargo.toml
src
lib.rs
test-token-receiver
Cargo.toml
src
lib.rs
tes... | Non-fungible Token (NFT)
===================

Build Rust project with Cargo and run a test.
Logged in my testnet Near account through a terminal command so that i could set an a... |
Learn-NEAR_multiple-cross-contract-calls | .github
workflows
tests.yml
.gitpod.yml
README.md
contract
Cargo.toml
README.md
build.sh
deploy.sh
src
batch_actions.rs
lib.rs
multiple_contracts.rs
similar_contracts.rs
integration-tests
package-lock.json
package.json
src
main.ava.ts
p... | # Complex Cross-Contract Calls
This contract presents 3 examples on how to do complex cross-contract calls. Particularly, it shows:
1. How to batch method calls to a same contract.
2. How to call multiple contracts in parallel, each returning a different type.
3. Different ways of handling the responses in the callba... |
NEARBuilders_DAO-Components | README.md
| # DAO-Components
DAO BOS Components
|
Peersyst_sequelize-typescript-auto-migrations | .vscode
launch.json
README.md
bin
cmds
create.ts
run.ts
sequelize-ts.ts
example
config
config.json
models
account.ts
city.ts
country.ts
geo.ts
index.ts
purchaseProducts.ts
package.json
index.ts
lib
compiler.ts
import... | # sequelize-auto-migrations
Migration generator && runner for sequelize
This package provide two tools:
* `sequelize-ts create` - tool for create new migrations
* `sequelize-ts run` - tool for apply created by first tool migrations
## Install
`todo`
## Usage
* Init sequelize, with sequelize-cli, using `seque... |
Meta-Pool_liquid-staking-contract | .vscode
launch.json
settings.json
tasks.json
CHANGELOG.md
Cargo.toml
LICENSE.md
README.md
build.sh
docs
_config.yml
beta-test.md
index.md
technical-notes.md
tokenomics.md
To STAKE is to mint stNEARs
To UNSTAKE is to burn stNEAR
metapool
Cargo.toml
src
account.rs
d... | # COPIED HERE FOR SIMULATION-TESTING --- internal_ping commented so withdaw works in simulation
# Staking / Delegation contract
This contract provides a way for other users to delegate funds to a single validation node.
Implements the https://github.com/nearprotocol/NEPs/pull/27 standard.
There are three different ... |
Learn-NEAR_multiple-cross-contract-calls-js | .gitpod.yml
README.md
contract
README.md
babel.config.json
build.sh
deploy.sh
package-lock.json
package.json
src
contract.ts
tsconfig.json
integration-tests
package-lock.json
package.json
src
main.ava.ts
package-lock.json
package.json
| # Complex Cross-Contract Calls
This contract presents 3 examples on how to do complex cross-contract calls. Particularly, it shows:
1. How to batch method calls to a same contract.
2. How to call multiple contracts in parallel, each returning a different type.
3. Different ways of handling the responses in the callba... |
OmarMWarraich_Fundraising-Rust-Smart-Contract | .gitpod.yml
README.md
contract
Cargo.toml
README.md
build.sh
deploy.sh
neardev
dev-account.env
src
lib.rs
pledge.rs
integration-tests
Cargo.toml
src
tests.rs
package-lock.json
package.json
| near-rust-fundraising-contract
==============================
This app was initialized with [create-near-app]
Quick Start
===========
If you haven't installed dependencies during setup:
npm install
Build and deploy your contract to TestNet with a temporary dev account:
npm run deploy
Test your contract:
... |
mehtaphysical_assign-a-friend | README.md
contract
asconfig.json
assembly
as_types.d.ts
index.ts
tsconfig.json
package.json
front-end
assignment.html
index.html
js
assignment.js
index.js
package.json
| # Assignment Example
## Setup
### Contract
1. go into the contract directory: `cd contract`
2. install dependencies: `yarn`
3. compile the contract into WASM: `yarn asb`
4. deploy the contract `yarn near dev-deploy build/release/contract.wasm`
5. store the contract id in an environment variable `CONTRACT_ID=$(cat ne... |
open-web-academy_Aurora-Ejemplos | BlockJobs
README.md
hardhat.config.js
package-lock.json
package.json
script
deploy.js
test
sample-test.js
CanalDePagosBidireccional
README.md
hardhat.config.js
package-lock.json
package.json
script
deploy.js
test
sample-test.js
CanalDePagos... | # Basic Sample Hardhat Project
This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, a sample script that deploys that contract, and an example of a task implementation, which simply lists the available accounts.
Try running some of the following tasks:
```she... |
lk2684754_file_hosting | Cargo.toml
README.md
contract
build.sh
neardev
dev-account.env
src
lib.rs
target
.rustc_info.json
release
.fingerprint
Inflector-dba563b0abe56474
lib-inflector.json
autocfg-cbc9b39bd91ac4aa
... | # Near_Contract_File_Hosting
The near file_hosting contract implemented by rust
# Building
To build run:
```shell
env 'RUSTFLAGS=-C link-arg=-s' cargo build --target wasm32-unknown-unknown --release
```
# Using this contract
This smart contract will get deployed to your NEAR account. For this example, please creat... |
giobiba_Near-voting-app | block-voting
README.md
babel.config.js
contract
as-pect.config.js
asconfig.json
assembly
__tests__
as-pect.d.ts
main.spec.ts
as_types.d.ts
index.ts
tsconfig.json
compile.js
node_modules
... | # base-x
[](https://www.npmjs.org/package/base-x)
[](https://travis-ci.org/cryptocoinjs/base-x)
[
[description](escrow/README.md)
## Lottery
on testnet: [lottery.antioquia.testnet](https://explorer.testnet.near.org/accounts/lottery.antioquia.testnet)
[description](l... |
Learn-NEAR_NCD--messagebox | contract
as-pect.config.js
asconfig.json
assembly
__tests__
as-pect.d.ts
main.spec.ts
as_types.d.ts
index.ts
tsconfig.json
utils.ts
compile.js
package-lock.json
package.json
documentation.md
package-lock.json
package.json
readme.md
... | |
near-x_scaffold-near | README.md
|
| # Ⓝ scaffold-near
> Everything you need to get started building decentralized applications powered by NEAR
---
| <B> [ 💻 Installation ](https://github.com/near-x/scaffold-near#-installation) </B> | <B> [ 🏃♀️ Getting Started ](https://github.com/near-x/scaffold-near#%EF%B8%8F-getting-started) </B> |
| --- | --- |
... |
love-and-coffee-archive_near-challenge-11 | .eslintrc.yml
.travis.yml
DETAILS.md
README.md
as-pect.config.js
asconfig.json
assembly
as_types.d.ts
main.ts
tsconfig.json
babel.config.js
package.json
src
assets
logo-black.svg
logo-white.svg
config.js
global.css
index.html
index.js
main.test.js
utils.js
wal... | # Tic Tac Toe
## Step by Step Guide on building a game on NEAR blockchain
This step-by-step guide will go through making Tic Tac Toe game on NEAR blockchain with a web interface!
You can try it out right now - https://martintale.github.io/near-challenge-11/
# Features
- Playable Game
- Storing, updating, and v... |
lucalysoft_Nearpro | .github
scripts
readme.sh
workflows
readme.yml
tests.yml
.gitpod.yml
README-Windows.md
README.md
ft
Cargo.toml
src
lib.rs
integration-tests
rs
Cargo.toml
src
tests.rs
ts
package.json
src
main.ava.ts
rustfmt.t... | Fungible Token (FT)
===================
Example implementation of a [Fungible Token] contract which uses [near-contract-standards] and [simulation] tests. This is a contract-only example.
[Fungible Token]: https://nomicon.io/Standards/FungibleToken/Core
[near-contract-standards]: https://github.com/near/near-sdk-... |
Mentor-Global-Consultants_near-microbonds-contracts | near-microbonds-bond-factory
README.md
factory-contract
Cargo.toml
build.sh
src
events.rs
factory_core.rs
internal.rs
lib.rs
tests.rs
tokens.rs
types.rs
views.rs
integration-tests-ts
... | # Microbonds Factory
The goal behind the Microbonds project is to allow projects to be created under governing municipalities, and have funds raised for their projects just like traditional bonds, but unlike the traditional way, have the bonds represented as a Non-Fungible Token. As there are many different parts to m... |
mattlockyer_nft-series | .eslintrc.js
README.md
contract
Cargo.toml
build.sh
src
lib.rs
utils.rs
market
Cargo.toml
README.md
build.sh
clippy.toml
src
external.rs
ft_callbacks.rs
internal.rs
lib.rs
nft_callbacks.rs
sale.rs
sale_views.rs
neard... | # NFT Series Implementation
# WARNING
This is using some non-standard stuff
## Rough notes on token series (type) and editions
```
// Mappings pseudo code
TokenTypeString -> TokenTypeInt
TokenTypeInt -> TokenTypeStruct (data)
TokenId.split(":")[0] -> TokenTypeInt
TokenId.split(":")[1] -> TokenEditionInt (unique to... |
MyLikita-Health_mylikita-smart-contract | asconfig.json
assembly
.env
as_types.d.ts
index.ts
model.ts
tsconfig.json
node_modules
.bin
sha.js
.package-lock.json
@as-covers
assembly
CONTRIBUTING.md
README.md
index.ts
package.json
tsconfig.json
core... | # Tools
## clang-format
The clang-format checking tools is designed to check changed lines of code compared to given git-refs.
## Migration Script
The migration tool is designed to reduce repetitive work in the migration process. However, the script is not aiming to convert every thing for you. There are usually so... |
near_near-discovery-indexer | .github
ISSUE_TEMPLATE
BOUNTY.yml
README.md
example-indexer
Cargo.toml
README.md
diesel.toml
migrations
2022-03-18-000000_initial_scam
down.sql
up.sql
2022-10-10-000000_add_receipts
down.sql
up.sql
src
main.rs
... | # example-indexer
This repository contains finished code for Indexer tutorial from official docs https://docs.near.org/docs/tools/near-indexer
# Indexer tutorials
This repository contains the code for indexer tutorials from official documentation.
## Contents
* example-indexer https://docs.near.org/docs/tools/near-... |
kamalbuilds_Near-StoreHub | .gitpod.yml
README.md
nftitem-contract
Cargo.toml
build.bat
build.sh
src
approval.rs
enumeration.rs
events.rs
external.rs
internal.rs
lib.rs
metadata.rs
mint.rs
nft_core.rs
royalty.rs
test.sh
package-lock.json
package.js... | # StoreSetup on Near
Relevant Contract Deployment Links
Initial Deployments
Store - https://explorer.testnet.near.org/transactions/FU5nmCmZzXB78Jh9Canzqt1kWVLtu7ALAUaDeAXcjDum
Market - https://explorer.testnet.near.org/transactions/9MiT4Ut98kTJr48t8EUby6cjRSzUgr3sqCqJXB9acsHg
Store Init - https://explorer.testnet.... |
kunal266_pumpkin_carv | .gitpod.yml
README.md
babel.config.js
contract
Cargo.toml
README.md
compile.js
src
lib.rs
target
.rustc_info.json
debug
.fingerprint
Inflector-f35c64bdcc83a85c
lib-inflector.json
autocfg-5eed84e18ea4d38d
... | pumpblock
==================
This [React] app was initialized with [create-near-app]
Quick Start
===========
To run this project locally:
1. Prerequisites: Make sure you've installed [Node.js] ≥ 12
2. Install dependencies: `yarn install`
3. Run the local development server: `yarn dev` (see `package.json` for a
f... |
max-mainnet_ref-orderly-trading-view | README.md
package.json
postcss.config.js
public
index.html
manifest.json
robots.txt
src
App.css
components
AllOrders
state.ts
AssetModal
state.ts
ChartHeader
state.ts
UserBoard
state.ts
config.ts
datafeed
... | # REF <> ORDERLY
|
peekpi_RainbowWars-Assembly | .dependabot
config.yml
.gitpod.yml
.travis.yml
README-Gitpod.md
README.md
as-pect.config.js
asconfig.js
assembly
MPT.ts
RlpReader.ts
Solidity.ts
__tests__
as-pect.d.ts
context.json
main.spec.ts
as_types.d.ts
main.ts
model.ts
tsconfig.json
neardev
shared-te... | # RainbowWars AssemblyScript Contract
## Description
RainbowWars is a cross-chain game. Here is the [description][describe] and [demo][demo].
This is the near contract for RainbowWars.
The RainbowWars project consists of three parts:
- [ethereum solidity contract][ethcontract]
- [near assembly contract][nearcontract]... |
iyidaclem_AssemblyScriptContract | .gitpod.yml
README.md
asconfig.json
assembly
index.ts
package.json
| # AssemblyScriptContract
Smartcontract development using assembly script and rust
|
near_near-discovery | commitlint.config.js
next.config.js
public
blog
category
a-post-from-illia-polosukhin
index.html
case-studies
index.html
page
2
index.html
3
index.h... | # example-indexer
This repository contains finished code for Indexer tutorial from official docs https://docs.near.org/docs/tools/near-indexer
# Toast
Implemented via Radix primitives: https://www.radix-ui.com/docs/primitives/components/toast
_If the current props and Stitches style overrides aren't enough to cover ... |
nearprotocol_metanear-src | README.md
assembly
main.ts
model.ts
tsconfig.json
docs
_next
static
1baOWWjYGjFufF1Xfb5u3
pages
_app.js
_error.js
index.js
start.js
chunks
0.js
... | # Greeter example in AssemblyScript
## Description
The contract implements a single function to return a greeting.
## To Run on local node
Step 1: Create account for the contract and deploy the contract.
```
npm install
near create_account --account_id id
near deploy --account_id id
```
Step 2:
modify src/settings.... |
phuonghoang713_HiReactRust | .gitpod.yml
README.md
babel.config.js
contract
Cargo.toml
README.md
compile.js
src
lib.rs
package.json
src
App.js
__mocks__
fileMock.js
assets
logo-black.svg
logo-white.svg
config.js
global.css
index.html
index.js
jest.init.js
main.test... | HiReactRust
==================
This [React] app was initialized with [create-near-app]
Quick Start
===========
To run this project locally:
1. Prerequisites: Make sure you've installed [Node.js] ≥ 12
2. Install dependencies: `yarn install`
3. Run the local development server: `yarn dev` (see `package.json` for a
... |
NearDeFi_bos-docs | .github
workflows
build.yml
links.yml
spellcheck.yml
README.md
babel.config.js
docs
Tutorials
hello-ethersJS.md
hello-lido.md
hello-world.md
components.md
faq.md
intro.md
quick-start.md
vm-api.md
docusaurus.config.js
mlc_config.json
package.jso... | # Website
This website is built using [Docusaurus 2](https://docusaurus.io/), a modern static website generator.
### Installation
```
$ yarn
```
### Local Development
```
$ yarn start
```
This command starts a local development server and opens up a browser window. Most changes are reflected live without having t... |
himanigulati01_vote2.0 | .gitpod.yml
README.md
babel.config.js
contract
README.md
as-pect.config.js
asconfig.json
assembly
__tests__
as-pect.d.ts
main.spec.ts
as_types.d.ts
index.ts
tsconfig.json
compile.js
package-lock.json
package.json
package.json
src
Ap... | blockvote Smart Contract
==================
A [smart contract] written in [AssemblyScript] for an app initialized with [create-near-app]
Quick Start
===========
Before you compile this code, you will need to install [Node.js] ≥ 12
Exploring The Code
==================
1. The main smart contract code lives in `asse... |
qstnus_NEARCON2022 | .cargo
config.toml
.idea
misc.xml
modules.xml
vcs.xml
Cargo.toml
src
lib.rs
| |
jon-lewis_ipfs-dev-3 | .github
ISSUE_TEMPLATE
01_BUG_REPORT.md
02_FEATURE_REQUEST.md
03_CODEBASE_IMPROVEMENT.md
04_SUPPORT_QUESTION.md
config.yml
PULL_REQUEST_TEMPLATE.md
labels.yml
workflows
codeql.yml
deploy-to-console.yml
labels.yml
lint.yml
lo... | This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) and [`tailwindcss`](https://tailwindcss.com/docs/guides/nextjs).
## Getting Started
First, run the development server:
```bash
npm run dev
# or
yarn dev
```
... |
nightfury1111111111_coinmarketcap_fetch_price | Cargo.toml
src
lib.rs
util.rs
| |
kdysq_example-subgraph | .vscode
settings.json
README.md
abis
Gravity.json
browser-example
README.md
package.json
public
index.html
manifest.json
robots.txt
src
App.css
index.css
logo.svg
react-app-env.d.ts
reportWebVitals.ts
setupTests.ts
tscon... | # Getting Started with Create React App
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
## Available Scripts
In the project directory, you can run:
### `npm start`
Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view... |
neararabic_verified-profile | contract
__tests__
as-pect.d.ts
index.unit.spec.ts
as-pect.config.js
asconfig.json
assembly
as_types.d.ts
index.ts
tsconfig.json
package.json
package.json
public
index.html
manifest.json
robots.txt
src
App.css
App.js
App.test.js
com... | |
nearprotocol_exonum_sodiumoxide | .travis.yml
Cargo.toml
README.md
appveyor.yml
libsodium-sys
Cargo.toml
build.rs
lib.rs
src
core.rs
crypto_aead_chacha20poly1305.rs
crypto_auth.rs
crypto_auth_hmacsha256.rs
crypto_auth_hmacsha512.rs
crypto_auth_hmacsha512256.rs
crypto_box.rs
... | sodiumoxide
===========
[](https://travis-ci.org/exonum/exonum_sodiumoxide)
[](https://ci.appveyor.com/project/DarkEld3r/exonum-sodiumoxide)
> [NaCl](... |
near-everything_viewer | .github
workflows
quality.yml
release-mainnet.yml
release-testnet.yml
README.md
apps
every.near
bos.config.json
data.json
bos.workspace.json
index.html
package.json
src
app.css
index.css
tree.json
vite.config.js
| # everything.dev
<img src="./assets/under-construction-bar-roll.gif" alt="under construction" >
## Getting started
1. Install packages
```cmd
yarn install
```
2. Start dev environment
```cmd
yarn run dev
```
|
IllyaPashchenko_VotingNear | .github
workflows
static.yml
.gitpod.yml
.idea
inspectionProfiles
Project_Default.xml
modules.xml
vcs.xml
README.md
contract
README.md
build.sh
build
builder.c
code.h
methods.h
votes.js
deploy.sh
neardev
dev-account.env
pack... | # Block Vote JS Edition
Welcome to BlockVote! The application where a user can propose a prompt to vote on, then vote for one of two candidates!
This app is meant to demonstrate how to create a full dApp starting from `create-near-app`, and also demonstrate how to implement collections and initiate a JS smart contrac... |
near_the-guard-bot | .circleci
config.yml
.eslintrc.json
.github
ISSUE_TEMPLATE
BOUNTY.yml
.vscode
extensions.json
settings.json
README.md
|
actions
ban.js
batchBan.js
warn.js
bot
context.js
index.js
example.config.js
handlers
commands
addCommand.js
admin.js
ban.js
... | <p align="center">
<img src="assets/logo.png" width="180" height="180">
<h1 align="center">The Guard Bot</h1>
</p>
The Guard is a Telegram bot made to help admins manage their groups.
Initially created to moderate [The Devs Network](https://thedevs.network).
**NOTE: The Guard is in beta phase;**
**it has known is... |
orkun51_Web3-Fundamentals-www.patika.dev | README.md
as-pect.config.js
asconfig.json
package.json
scripts
1.dev-deploy.sh
2.use-contract.sh
3.cleanup.sh
README.md
src
as_types.d.ts
simple
__tests__
as-pect.d.ts
index.unit.spec.ts
asconfig.json
assembly
index.ts
singleton
... | ## Setting up your terminal
The scripts in this folder are designed to help you demonstrate the behavior of the contract(s) in this project.
It uses the following setup:
```sh
# set your terminal up to have 2 windows, A and B like this:
┌─────────────────────────────────┬─────────────────────────────────┐
│ ... |
NEARFoundation_nearcon-website | README.md
api
Cargo.toml
build.rs
migrations
20230621191330_initial.down.sql
20230621191330_initial.up.sql
20230711105221_users.down.sql
20230711105221_users.up.sql
20230807104043_auth.down.sql
20230807104043_auth.up.sql
20230818075724_user_updates.dow... | |
leonardokhorliey_near-expense-app | README.md
package.json
public
index.html
manifest.json
robots.txt
src
App.js
components
Chart
Chart.css
Chart.js
ChartBar.css
ChartBar.js
Expenses
ExpenseDate.css
ExpenseDate.js
ExpenseItem.css
... | # Title
A simple budget/expense Management App built on the NEAR BlockChain Protocol
|
mikedotexe_near-get-block | README.md
index.js
package-lock.json
package.json
| Hi Summa, NEAR thinks y'all are awesome.
`yarn`
then
`node index.js`
|
michaelwaves_web3-hackathon | .gitpod.yml
README.md
contract
README.md
build.sh
build
builder.c
code.h
hello_near.js
methods.h
patent_contract.js
deploy.sh
neardev
dev-account.env
package-lock.json
package.json
src
contract.ts
patentContract.ts
p... | # Hello NEAR Contract
The smart contract exposes two methods to enable storing and retrieving a greeting in the NEAR network.
```ts
@NearBindgen({})
class HelloNear {
greeting: string = "Hello";
@view // This method is read-only and can be called for free
get_greeting(): string {
return this.greeting;
}
... |
freewind-demos_typescript-react-near-api-js-login-run-contract-demo | README.md
package.json
tsconfig.json
webpack.config.ts
| TypeScript React "near-api-js" Login Run Contract Demo
=================================
直接使用`near-api-js`而非`wallet-selector`进行登录并执行 function call(包括change function)
多次connectToNear以及创建WalletConnection对象,信息都是从`localStorage`中取的,可以当作同一个对象使用,不会产生格外连接。
每次SignIn只能指定一个contract。如果登录到新的contract,之前的登录就无效了。如果操作其change method,... |
esaminu_donation-boilerplate-template-js-sfd | .github
scripts
runfe.sh
workflows
deploy-to-console.yml
readme.yml
tests.yml
.gitpod.yml
README.md
contract
README.md
build.sh
deploy.sh
package-lock.json
package.json
src
contract.ts
model.ts
utils.ts
tsconfig.json
integration... | # Donation Contract
The smart contract exposes methods to handle donating $NEAR to a `beneficiary`.
```ts
@call
donate() {
// Get who is calling the method and how much $NEAR they attached
let donor = near.predecessorAccountId();
let donationAmount: bigint = near.attachedDeposit() as bigint;
let donatedSoFa... |
FantasyNFTLeague_near-first-deploy | README.md
as-pect.config.js
asconfig.json
package.json
scripts
1.dev-deploy.sh
2.use-contract.sh
3.cleanup.sh
README.md
src
as_types.d.ts
simple
__tests__
as-pect.d.ts
index.unit.spec.ts
asconfig.json
assembly
index.ts
singleton
... | # `near-sdk-as` Starter Kit
This is a good project to use as a starting point for your AssemblyScript project.
## Samples
This repository includes a complete project structure for AssemblyScript contracts targeting the NEAR platform.
The example here is very basic. It's a simple contract demonstrating the followin... |
lfg-oliveira_crow-token | .gitpod.yml
README.md
babel.config.js
contract
Cargo.toml
README.md
compile.js
src
lib.rs
target
.rustc_info.json
debug
.fingerprint
Inflector-f35c64bdcc83a85c
lib-inflector.json
ahash-3b0cd5f7d1717f4c
... | rust-blockchain
==================
This [React] app was initialized with [create-near-app]
Quick Start
===========
To run this project locally:
1. Prerequisites: Make sure you've installed [Node.js] ≥ 12
2. Install dependencies: `yarn install`
3. Run the local development server: `yarn dev` (see `package.json` for ... |
near_optimism | .changeset
README.md
config.json
new-mails-explain.md
nine-pugs-fix.md
old-poets-camp.md
rare-moose-itch.md
.circleci
config.yml
.eslintrc.js
.github
ISSUE_TEMPLATE
BOUNTY.yml
dependabot.yml
labeler.yml
mergify.yml
workflows
close-stale.yml
fork-sy... | <!-- DOCTOC SKIP -->
# Meta Processes
This directory describes processes that we use to lint/test the specification.
- [Linting](linting.md): how to lint source files.
- [Markdown Style Guide](markdown-style.md): how to format and structure Markdown files.
- [Devnet introduction](devnet.md): how to run a devnet.
# be... |
near_rollup-data-availability | .github
ISSUE_TEMPLATE
bug_report.md
feature_request.md
workflows
on_main.yml
on_pull_request.yml
.vscode
bookmarks.json
CHANGELOG.md
Cargo.toml
README.md
bin
cli
Cargo.toml
src
main.rs
http-api
Cargo.toml
src
ma... | # NEAR Data Availability architecture docs
For our architecture docs, we make use of [mermaid](https://mermaid.js.org/intro/).
It's a simple and easy to use architecture-as-code software, with an online editor and various plugins.
Gihub also supports this out of the box within mermaid code blocks.
# go-near
This libr... |
johnnykramer_usdm-prices | abis
USDM3CRV.json
package-lock.json
package.json
src
price.ts
| |
p2pvid_sdfkd | .eslintrc.yml
.github
workflows
deploy.yml
.gitpod.yml
.travis.yml
README-Gitpod.md
README.md
as-pect.config.js
asconfig.json
assembly
__tests__
as-pect.d.ts
guestbook.spec.ts
as_types.d.ts
main.ts
model.ts
tsconfig.json
babel.config.js
neardev
shared-test-staging
... | Guest Book
==========
[](https://travis-ci.com/near-examples/guest-book)
[](https://gitpod.io/#https://github.com/near-examples/guest-book)
<!-- MAGIC COMMENT: DO NOT DELETE!... |
nearwatch_postcards | Cargo.toml
README.md
card.svg
index.html
lib.rs
| <a href="https://pcards.near.page" target="_blank">pcards.near.page</a>, <a href="https://pcards.testnet.page" target="_blank">pcards.testnet.page</a><br />
## Introduction
Near Postcards dApp is an example of a fully decentralized Near protocol service that stores all data directly on the blockchain itself, including... |
NEAR-Analytics_BOS_UnOfficial_Guide | Overview
customBuild.md
detail.md
readme.md
README.md
assets
imgs
BOS Diagram-Page-5.drawio.svg
| # BOS_UnOfficial_Guide
This is an unofficial and rough guide on how to build on the blockchain operating system
> The Blockchain Operating System (BOS) allows you to quicky develop fullstack decentralized applications by publishing all of its source code on-chain.
---
# Unofficial Guide to Building on the Blockchain... |
evgenykuzyakov_ad-token | contract
Cargo.toml
add_ad.sh
build.sh
meta.sh
send.sh
src
lib.rs
storage.rs
token.rs
| |
michaelshapkin_near-dice-deploy | README.md
babel.config.js
contract
Cargo.toml
README.md
build.sh
compile.js
src
lib.rs
tests
test_utils.rs
copy-dev-account.js
jest.config.js
package.json
src
__mocks__
fileMock.js
assets
logo-black.svg
logo-white.svg
config.js
glob... | NCD-GroupA-Demo Smart Contract
==================
A demo contract for NCD Pojrect Phase-1.
Play with this contract
========================
the contract is deployed at testnet with the name `dev-1614240595058-5266655`
you can set it to env for later use:
```shell
export CONTRACTID=dev-1614240595058-5266655
```
## L... |
ifabrisarabellapark_sc-near-mintingNFT | README.md
nft-contract
Cargo.toml
build.sh
src
approval.rs
enumeration.rs
events.rs
internal.rs
lib.rs
metadata.rs
mint.rs
nft_core.rs
royalty.rs
package.json
| <p align="center">
<a href="https://near.org/">
<img alt="Near" src="https://github.com/irene-bbox/sc-near-mintingNFT/blob/main/images/near_oceanblue.png"
width="900" />
</a>
</p>
# Minting an NFT on NEAR Protocol :ringed_planet: :roller_skate: :kick_scooter:
In this guide, you'll learn how to mint an NF... |
phuonghoang713_BotAutoTransferMoney | .gitpod.yml
README.md
contract
Cargo.toml
README.md
compile.js
src
lib.rs
package.json
src
assets
logo-black.svg
logo-white.svg
config.js
global.css
index.html
index.js
main.test.js
utils.js
wallet
login
index.html
| BotAutoTransferMoney
==================
This app was initialized with [create-near-app]
Quick Start
===========
To run this project locally:
1. Prerequisites: Make sure you've installed [Node.js] ≥ 12
2. Install dependencies: `yarn install`
3. Run the local development server: `yarn dev` (see `package.json` for a
... |
pagoda-gallery-repos_temp | .github
ISSUE_TEMPLATE
01_BUG_REPORT.md
02_FEATURE_REQUEST.md
03_CODEBASE_IMPROVEMENT.md
04_SUPPORT_QUESTION.md
config.yml
PULL_REQUEST_TEMPLATE.md
labels.yml
workflows
build.yml
deploy-to-console.yml
labels.yml
lock.yml
pr-... | <h1 align="center">
<a href="https://github.com/near/boilerplate-template-rs">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/near/boilerplate-template-rs/main/docs/images/pagoda_logo_light.png">
<source media="(prefers-color-scheme: light)" srcset="ht... |
lhtkamleshkulkrni_Task-Creator_Rust-Smart-Contract | .gitpod.yml
README.md
contract
Cargo.toml
README.md
src
lib.rs
target
.rustc_info.json
debug
.fingerprint
Inflector-4a8c8a7e9339386c
lib-inflector.json
ahash-72508542b05bb4d5
build-script-build-sc... | near-blank-project Smart Contract
==================
A [smart contract] written in [Rust] for an app initialized with [create-near-app]
Quick Start
===========
Before you compile this code, you will need to install Rust with [correct target]
Exploring The Code
==================
1. The main smart contract code liv... |
metaseed-project_factory-instruction | README.md
| ### Create Game contract
```
ContractId=registry4.metaseed.testnet
GD=game_creator1.testnet
GAME_NAME=my_game_name
near call $ContractId create_game_manager '{"prefix": "'$GAME_NAME'"}' --accountId $GD --depositYocto 5789980000000000000000000 --gas 300000000000000
```
### Create an NFT
```
NFT_PREFIX=super_sword_... |
Learn-NEAR-Hispano_NCD2L1--habitar-near-blockchain | README.md
as-pect.config.js
asconfig.json
assembly
__tests__
as-pect.d.ts
index.spec.ts
index.ts
models.ts
tsconfig.json
package-lock.json
package.json
| Introducción a Habitar
==================
Habitar es un contrato inteligente que permite verificar la identidad de los dueños de propiedades inmuebles. Debido a que la tecnología blockchain permite validar esa propiedad para que no sea posible una falsificación de documentos de propiedad o una alteración anormal del v... |
near_as-base64 | .github
ISSUE_TEMPLATE
BOUNTY.yml
.travis.yml
README.md
as-pect.config.js
assembly
__tests__
as-pect.d.ts
roundtrip.spec.ts
index.ts
tsconfig.json
package.json
| # as-base64
Base64 encoder / decoder for AssemblyScript.
Adapted from https://gist.github.com/Juszczak/63e6d9e01decc850de03
# Usage
```ts
import { encode, decode } from "as-base64";
const input = "c29tZSBzdHJpbmc=";
assert(input = enocde(decode(input));
```
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.