NEAR Documentation
  • QUICK START
  • STUDIO
  • DISCORD
  • QUESTION?

›Classes

OVERVIEW

  • Who is this for?
  • What is NEAR?

QUICK START

  • First Thing - Creating a NEAR Account
  • Smart Contracts Prerequisite
  • Near Studio IDE
  • NEAR Development Overview

LOCAL SETUP

  • Local Development on TestNet
  • Local Development on Local Network
  • Running a node
  • Running a Node on Windows

DEVELOPMENT

  • The NEAR CLI tool -- near-shell
  • Guides

    • Writing Contracts
    • Calling Contracts

TUTORIALS

  • Tutorial Overview
  • Zero to Hero: Oracles
  • How to issue your own token (ERC20)
  • How to write smart contracts that talk to each other
  • Test your smart contracts

BECOME A VALIDATOR

  • Validator Overview
  • Staking and becoming a Validator
  • FAQ

ASSEMBLYSCRIPT RUNTIME (NEAR-RUNTIME-TS)

    Introduction

    • Globals

    Modules

    • base58
    • base64
    • collections
    • MapEntry
    • logging
    • math
    • near
    • runtime_api
    • util

    Classes

    • Context
    • ContractPromise
    • ContractPromiseResult
    • PersistentDeque
    • PersistentMap
    • PersistentTopN
    • PersistentVector
    • Storage

FRONTEND API (NEARLIB)

  • Introduction
  • Globals
  • Classes

    • AccessKey
    • AccessKeyPermission
    • Account
    • AccountCreator
    • Action
    • AddKey
    • Assignable
    • BinaryReader
    • BinaryWriter
    • BrowserLocalStorageKeyStore
    • Connection
    • Contract
    • CreateAccount
    • DeleteAccount
    • DeleteKey
    • DeployContract
    • Enum
    • FullAccessPermission
    • FunctionCall
    • FunctionCallPermission
    • IAction
    • InMemoryKeyStore
    • InMemorySigner
    • JsonRpcProvider
    • KeyPair
    • KeyPairEd25519
    • KeyStore
    • LocalAccountCreator
    • MergeKeyStore
    • Near
    • Provider
    • PublicKey
    • Signature
    • SignedTransaction
    • Signer
    • Stake
    • Transaction
    • Transfer
    • UnencryptedFileSystemKeyStore
    • UrlAccountCreator
    • WalletAccount

    Interfaces

    • AccountInfo
    • AccountState
    • BlockHeader
    • BlockResult
    • ConnectionInfo
    • FinalTransactionResult
    • Network
    • NodeStatusResult
    • SyncInfo
    • TotalWeight
    • TransactionLog
    • TransactionResult

RUST RUNTIME (NEAR-BINDGEN)

  • NEAR Bindgen

BLOCKCHAIN INTERACTION

  • RPC

HACKATHON

  • Hackathon Startup Guide

COMMUNITY

  • Contribution Overview
  • Contribution Guidelines

    • NearCore
  • Become an Ambassador
  • Join the Beta Program
  • GitHub
  • Discord
  • FAQ

TECHNICAL SPECS

  • Nightshade Paper (Consensus)

Connection

Hierarchy

  • Connection

Index

Constructors

  • constructor

Properties

  • networkId
  • provider
  • signer

Methods

  • fromConfig

Constructors

constructor

+ new Connection(networkId: string, provider: Provider, signer: Signer): Connection

Defined in connection.ts:25

Parameters:

NameType
networkIdstring
providerProvider
signerSigner

Returns: Connection

Properties

networkId

• networkId: string

Defined in connection.ts:23


provider

• provider: Provider

Defined in connection.ts:24


signer

• signer: Signer

Defined in connection.ts:25

Methods

Static fromConfig

▸ fromConfig(config: any): Connection

Defined in connection.ts:33

Parameters:

NameType
configany

Returns: Connection

Last updated on 11/28/2019 by Sherif Abushadi
← BrowserLocalStorageKeyStoreContract →
  • Hierarchy
  • Index
    • Constructors
    • Properties
    • Methods
  • Constructors
    • constructor
  • Properties
    • networkId
    • provider
    • signer
  • Methods
    • Static fromConfig
NEAR Documentation
DEVELOPERS
OverviewDocsGithubSurvey
COMMUNITY
EventsAmbassador ProgramBeta ProgramNewsletterDiscord
MEDIA
BlogVideosMediumYouTubeTwitter
ABOUT
TeamCareersInvestorsPress

THE NEAR NETWORK