Русский | English
  • latest
  • v. 1.4.0
  • v. 1.3.1
  • v. 1.3.0
  • v. 1.2.3
  • v. 1.2.2
  • v. 1.2.0
  • v. 1.1.2
  • v. 1.1.0
  • v. 1.0.0

Blockchain-platform Waves Enterprise

  • Features overview
    • Waves Enterprise Blockchain Highlights
      • Waves Enterprise network deployment options
    • Main network
    • Independent private network
    • Private network with block hashes broadcast to main network
  • Official resources

How the Platform Works

  • Architecture
    • Node architecture and additional services
  • Waves-NG Protocol
    • Terms
    • Protocol description
      • 1. Process for Creating a Liquid Block
      • 2. Miner reward mechanism in Waves-NG
      • 3. Conflict resolution
  • Consensus algorithms
    • LPoS consensus algorithm
      • Proof of Stake
        • Advantages Over Proof of Work
      • Leased Proof of Stake
    • Proof of Authority
      • Algorithm description
      • Synchronization of time between network hosts
      • Exclusion of inactive miners
      • Monitoring
      • Changing consensus settings
  • Cryptography
    • Hashing
    • Electronic signature
    • Data encryption
  • Role model
    • Roles list
    • Permission model
    • Update the permission list
  • Access managing
  • Data Privacy
    • Access groups
    • Sending and receiving the data
  • Client
  • Blocks, transactions, messages
    • Blocks
    • Transactions
      • 1. Genesis transaction
      • 3. Issue Transaction
      • 4. Transfer Transaction
      • 5. Reissue Transaction
      • 6. Burn Transaction
      • 8. Lease Transaction
      • 9. Lease Cancel Transaction
      • 10. Create Alias Transaction
      • 11. MassTransfer Transaction
      • 12. Data Transaction
      • 13. SetScript Transaction
      • 14. SponsorshipTransaction
      • 15. SetAssetScriptTransaction
      • 101. GenesisPermitTransaction
      • 102. PermissionTransaction
      • 103. CreateContractTransaction
      • 104. CallContractTransaction
      • 105. ExecutedContractTransaction
      • 106. DisableContractTransaction
      • 107. UpdateContractTransaction
      • 110. GenesisRegisterNodeTransaction
      • 111. RegisterNodeTransaction
      • 112. CreatePolicyTransaction
      • 113. UpdatePolicyTransaction
      • 114. PolicyDataHashTransaction
    • Network messages
      • Network message
      • Handshake message
        • Authorized Handshake
      • GetPeers message
      • Peers message
      • GetSignatures message
      • Signatures message
      • GetBlock message
      • Block message
      • Score message
      • Transaction message
      • Checkpoint message
  • Docker Smart Contracts
    • Smart contracts on the Waves Enterprise platform
    • Creating a contract
    • Executing a Contract
    • Updating Contract
    • Contract Call Disabling
    • Description of Transactions
    • Node configuration
    • REST API
    • gRPC
    • Implementation examples
  • Anchoring
    • How does anchoring work in the Waves Enterprise blockchain
    • Transaction structure for anchoring
    • Errors during the anchoring
  • Integration services
    • Authorization service
    • Data preparation service

Installation and Setup

  • System requirements
  • Installing and running the platform
    • Deploying the platform in Sandbox mode
    • Connecting a single node to the Mainnet network
    • Updating a Mainnet node
    • First steps after the Waves Enterprise platform installation
      • Attaching the node address to the client
      • Sending transactions
      • Activating additional options
  • Manual node configuration
    • Preparation of configuration files
      • accounts.conf configuration file for the accounts creation
      • api-key-hash.conf configuration file
      • node.conf node configuration file
    • Changes in the node configuration file
      • Changes in the node configuration file of the 1.2.2 version
      • Changes in the node configuration file of the 1.2.0 version
      • Changes in the node configuration file for earlier versions
    • Description of the node configuration file parameters and sections
      • node section
      • synchronization.transaction-broadcaster section
      • ntp section
      • blockchain section
      • network section
      • wallet section
      • miner section
      • features section
    • Accounts creation
      • Key pairs generating
      • Global variables
    • Signing the genesis block
    • Consensus settings
      • PoS configuration
      • PoA settings
      • Consensus settings in the miner section
    • Docker configuration
    • Authorization type configuration for the REST API access
      • rest-api section of the node configuration file
      • When you use the key string hash for the authorization
      • When you use the token authorization
    • Anchoring settings
    • Privacy data access groups configuration

Use

  • Using a license
    • Obtaining a license
  • Mainnet and Partnernet connection
    • Working inside the “Waves Enterprise Mainnet”
      • Connection of the node to the “Waves Enterprise Mainnet”
      • Fees in the “Waves Enterprise Mainnet”
      • Parameters for calculating certain commissions
    • Working inside the “Waves Enterprise Partnernet”
      • Connection of the node to the “ Waves Enterprise Partnernet”
  • REST API
    • Node REST API methods
      • Activation
        • GET /activation/status
      • Addresses
        • GET /addresses​/info​/{address}
        • GET/addresses
        • GET/addresses/seq/{from}/{to}
        • GET/addresses/balance/{address}
        • POST/addresses/balance/details
        • GET/addresses/effectivebalance/{address}/{confirmations}
        • GET /addresses/effectiveBalance/{address}
        • GET/addresses/balance/details/{address}
        • GET/addresses/scriptInfo/{address}
        • POST/addresses/sign/{address}
        • POST/addresses/verify/{address}
        • POST/addresses/signtext/{address}
        • POST/addresses/verifytext/{address}
        • GET /addresses/validate/{addressOrAlias}
        • POST /addresses/validateMany
        • GET /addresses/publicKey/{publicKey}
        • GET/addresses/data/{address}
        • GET/addresses/data/{address}/{key}
      • Alias
        • GET/alias/by-alias/{alias}
        • GET /alias/by-address/{address}
      • Anchoring
        • GET /anchoring/config
      • Assets
        • GET/assets/balance/{address}
        • GET /assets/balance/{address}/{assetId}
        • GET /assets/details/{assetId}
        • GET /assets/{assetId}/distribution
        • POST /assets/balance
      • Blocks
        • GET /blocks/height
        • GET /blocks/height/{signature}
        • GET /blocks/first
        • GET /blocks/last
        • GET /blocks/at/{height}
        • GET /blocks/seq/{from}/{to}
        • GET /blocks/seqext/{from}/{to}
        • GET /blocks/signature/{signature}
        • GET /blocks/address/{address}/{from}/{to}
        • GET /blocks/child/{signature}
        • GET /blocks/headers/at/{height}
        • GET /blocks/headers/seq/{from}/{to}
        • GET /blocks/headers/last
      • Consensus
        • GET /consensus/algo
        • GET /consensus/settings
        • GET /consensus/minersAtHeight/{height}
        • GET /consensus/miners/{timestamp}
        • GET /consensus/bannedMiners/{height}
        • GET /consensus/basetarget/{blockId}
        • GET /consensus/basetarget
        • GET /consensus/generatingbalance/{address}
        • GET /consensus/generationsignature/{blockId}
        • GET /consensus/generationsignature
      • Contracts
        • GET /contracts
        • POST /contracts
        • GET /contracts/info/{contractId}
        • GET /contracts/status/{id}
        • GET /contracts/{contractId}
        • GET /contracts/executed-tx-for/{id}
        • GET /contracts/{contractId}/{key}
      • Crypto
        • POST /crypto/encryptSeparate
        • POST /crypto/encryptCommon
        • POST /crypto/decrypt
      • Debug
        • GET /debug​/blocks​/{howMany}
        • GET /debug​/info
        • POST /debug​/rollback
        • POST /debug​/validate
        • GET /debug​/minerInfo
        • GET /debug​/historyInfo
        • GET /debug​/configInfo
        • DELETE /debug​/rollback-to​/{signature}
        • GET /debug​/portfolios​/{address}
        • POST /debug​/print
        • GET /debug​/state
        • GET /debug​/stateWE​/{height}
      • Leasing
        • GET /leasing/active/{address}
      • Licenses
        • GET /licenses
        • GET /licenses/status
        • POST /licenses/upload
      • Node
        • GET /node/config
        • POST /node/stop
        • GET /node/status
        • GET /node/version
        • GET /node/owner
      • Peers
        • POST /peers/connect
        • GET /peers/connected
        • GET /peers/all
        • GET /peers/suspended
        • POST /peers/identity
        • GET /peers/hostname/{address}
        • GET /peers/allowedNodes
      • Permissions
        • GET /permissions/{address}
        • GET /permissions/{address}/at/{timestamp}
        • POST /permissions/addresses
      • PKI
        • POST /pki/sign
        • GET ​/pki​/keystoreAliases
        • POST /pki/verify
        • Working with POST /pki/verify method
      • Privacy
        • POST /privacy/sendData
        • GET /privacy/{policy-id}/recipients
        • GET /privacy/{policy-id}/getHashes
        • GET /privacy/{policy-id}/getHashes
        • GET /privacy/{policyId}​/getData/{policyItemHash}
        • GET ​/privacy​/{policyId}​/getInfo​/{policyItemHash}
        • POST /privacy/forceSync
        • POST /privacy/getInfos
      • Transactions
        • GET /transactions/info/{id}
        • GET /transactions/address/{address}/limit/{limit}
        • GET /transactions/unconfirmed
        • GET /transactions/unconfirmed/size
        • GET /unconfirmed/info/{id}
        • POST /transactions/calculateFee
        • POST /transactions/sign
        • POST /transactions/broadcast
        • POST ​/transactions​/signAndBroadcast
      • Utils
        • POST /utils/hash/secure
        • POST /utils/hash/fast
        • POST /utils/script/compile
        • POST /utils/script/estimate
        • GET /utils/time
        • POST /utils/reload-wallet
    • Authorization service REST API methods
      • GET ​/status
      • POST ​/v1​/user
      • GET ​/v1​/user​/profile
      • POST ​/v1​/user​/address
      • GET ​/v1​/user​/doesEmailExist
      • POST ​/v1​/user​/password​/restore
      • POST ​/v1​/user​/password​/reset
      • GET ​/v1​/user​/confirm​/{code}
      • POST ​/v1​/user​/resendEmail
      • POST ​/v1​/auth​/login
      • POST ​/v1​/auth​/token
      • POST ​/v1​/auth​/refresh
      • GET​ /v1​/auth​/publicKey
    • REST API methods for the data service
      • Transactions
        • GET /transactions
        • GET /transactions/count
        • GET /transactions/id/{id}
      • Token assets
        • GET /assets
      • Users
        • GET /users
        • GET /users/{userAddress}
      • Blocks
        • GET /blocks/{height}
      • Data transactions
        • GET /api/v1/txIds/{key}
        • GET /api/v1/txIds/{key}/{value}
        • GET /api/v1/txData/{key}
        • GET /api/v1/txData/{key}/{value}
    • How to use REST API
    • Authorization methods
      • api-key-hash authorization
      • Token authorization
  • Docker Smart-contracts
    • Smart contract run with REST API
      • Description of program logic
      • Installing a smart contract
      • Smart Contract Execution
    • API methods available to smart contract
      • Docker contract authorization
    • Smart contract run with gRPC
      • Description of the smart contract
      • Smart contract creation
      • Smart contract call
      • Files samples
    • gRPC services available to smart contract
  • Role management
    • Option 1 (through REST API)
    • Option 2 (using the utility)
  • Participants connection to the network
    • Connection of a new node to the existing net
    • Deleting the node
  • Confidential data exchange
    • Creation of the confidential data access group
    • Changing the access group
    • Exchanging the confidential data
  • Data encryption operations

Additional Information

  • Glossary
  • What is new in the Waves Enterprise
    • 1.2.3
    • 1.2.2
    • 1.2.0
    • 1.1.2
    • 1.1.0
    • 1.0.0
DocumentationAPI
Documentation in.pdf
Available under CC BY 4.0 license
Waves Enterprise
  • Docs »
  • Docker Smart-contracts

Docker Smart-contracts¶

Docker Smart-contracts (Turing-complete)

  • Smart contract run with REST API
    • Description of program logic
    • Installing a smart contract
    • Smart Contract Execution
  • API methods available to smart contract
    • Docker contract authorization
  • Smart contract run with gRPC
    • Description of the smart contract
    • Smart contract creation
    • Smart contract call
    • Files samples
  • gRPC services available to smart contract

Was this page helpful?

Next Previous

Copyright Waves Enterprise, 2020

Version 1.1.2

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License