An open source Web blockchain marketplace

An open source Web blockchain marketplace

2022-09-02 0 1,263
Resource Number 38016 Last Updated 2025-02-24
¥ 0HKD Upgrade VIP
Download Now Matters needing attention
Can't download? Please contact customer service to submit a link error!
Value-added Service: Installation Guide Environment Configuration Secondary Development Template Modification Source Code Installation

Solana, featured in this issue, is an open source project that implements a new, high-performance, permissionless blockchain.

An open source Web blockchain marketplace插图

What is Solana?

The Bitcoin feature is called nLocktime, and it can be used to delay transactions using block heights instead of timestamps. As a Bitcoin client, if you are not dependent on the network, you will use the block height instead of the timestamp. Block height turns out to be an example of what cryptographers call a verifiable delay function. This is a cryptographically secure way to indicate that time has passed. In Solana, we use a more fine-grained verifiable delay function, a SHA 256 hash chain, to check the ledger and reconcile consensus. With it, we implemented optimistic concurrency control and are now moving towards the theoretical limit of 710,000 transactions per second.

Solana Wallet

A crypto wallet is a device or application that stores a collection of keys that can be used to send, receive, and track the ownership of cryptocurrencies. Wallets can come in many forms. A wallet may be a directory or file in a computer file system, a piece of paper, or a specialized device called a hardware wallet. There are also various smartphone apps and computer programs that provide a user-friendly way to create and manage wallets.

A key is a securely generated private key and password and its derived public key. The private key and its corresponding public key are collectively referred to as a key pair. A wallet contains a collection of one or more key pairs and provides some means of interacting with them.

This public key (often referred to simply as PUBKEY) is called the wallet’s receiving address or just its address. Wallet addresses can be freely shared and displayed. When the other party wants to send a certain amount of cryptocurrency to the wallet, they need to know the wallet’s receiving address. According to the implementation of the blockchain, the address can also be used to view certain information about the wallet, such as checking the balance, but cannot change anything about the wallet or withdraw any tokens.

The private key that needs to be digitally signed for any transaction sends cryptocurrencies to another address or makes any changes to the wallet. Never share a private key. If someone gains access to the wallet’s private key, they can withdraw all the tokens contained in it. If the wallet’s private key is lost, any tokens sent to that wallet address are permanently lost.

usage

deployer

To deploy the program, you will need the location of the program shared object (program binaries.so)

solana Program deployment< PROGRAM_FILEPATH >

Successful deployment returns the program id of the deployer, for example:

procedure ID:3KS2k14CmtnuVv2fvYcvdrNgC94Y11WETBpMUGgXyWZL

Specify the key pair to be deployed to the specific program ID in the deploy command:

solana program deploy --program-id <KEYPAIR_FILEPATH> <PROGRAM_FILEPATH>

If the program ID is not specified on the command line, the tool first looks for the matching key pair file <PROGRAM_FILEPATH>, or internally generates a new key pair.

The matching program keypair file is located in the same directory as the program’s shared object and is named <PROGRAM_NAME>-keypair.json. The matching program key pair is automatically generated by the program builder:

./path-to-program/program.so
./path-to-program/program-keypair.json

An open source Web blockchain marketplace插图1

new function

As Solana evolves, new features or patches may be introduced to change the behavior of the cluster and the way the program runs. Changes in behavior must be coordinated across the various nodes of the cluster, and if the nodes are not coordinated, then these changes can cause consensus to break down. Solana supports a mechanism called runtime features to facilitate the smooth adoption of changes.

The runtime feature is the epoch coordination event, where one or more behavioral changes for the cluster occur. Solana includes new changes that change behavior in feature gates and disables them by default. The Solana tool is then used to activate a feature that marks it as pending, and once marked as pending, the feature is activated for the next period.

资源下载此资源为免费资源立即下载
Telegram:@John_Software

Disclaimer: This article is published by a third party and represents the views of the author only and has nothing to do with this website. This site does not make any guarantee or commitment to the authenticity, completeness and timeliness of this article and all or part of its content, please readers for reference only, and please verify the relevant content. The publication or republication of articles by this website for the purpose of conveying more information does not mean that it endorses its views or confirms its description, nor does it mean that this website is responsible for its authenticity.

Ictcoder Free Source Code An open source Web blockchain marketplace https://ictcoder.com/an-open-source-web-blockchain-marketplace/

Share free open-source source code

Q&A
  • 1. Automatic: After making an online payment, click the (Download) link to download the source code; 2. Manual: Contact the seller or the official to check if the template is consistent. Then, place an order and make payment online. The seller ships the goods, and both parties inspect and confirm that there are no issues. ICTcoder will then settle the payment for the seller. Note: Please ensure to place your order and make payment through ICTcoder. If you do not place your order and make payment through ICTcoder, and the seller sends fake source code or encounters any issues, ICTcoder will not assist in resolving them, nor can we guarantee your funds!
View details
  • 1. Default transaction cycle for source code: The seller manually ships the goods within 1-3 days. The amount paid by the user will be held in escrow by ICTcoder until 7 days after the transaction is completed and both parties confirm that there are no issues. ICTcoder will then settle with the seller. In case of any disputes, ICTcoder will have staff to assist in handling until the dispute is resolved or a refund is made! If the buyer places an order and makes payment not through ICTcoder, any issues and disputes have nothing to do with ICTcoder, and ICTcoder will not be responsible for any liabilities!
View details
  • 1. ICTcoder will permanently archive the transaction process between both parties and snapshots of the traded goods to ensure the authenticity, validity, and security of the transaction! 2. ICTcoder cannot guarantee services such as "permanent package updates" and "permanent technical support" after the merchant's commitment. Buyers are advised to identify these services on their own. If necessary, they can contact ICTcoder for assistance; 3. When both website demonstration and image demonstration exist in the source code, and the text descriptions of the website and images are inconsistent, the text description of the image shall prevail as the basis for dispute resolution (excluding special statements or agreements); 4. If there is no statement such as "no legal basis for refund" or similar content, any indication on the product that "once sold, no refunds will be supported" or other similar declarations shall be deemed invalid; 5. Before the buyer places an order and makes payment, the transaction details agreed upon by both parties via WhatsApp or email can also serve as the basis for dispute resolution (in case of any inconsistency between the agreement and the description of the conflict, the agreement shall prevail); 6. Since chat records and email records can serve as the basis for dispute resolution, both parties should only communicate with each other through the contact information left on the system when contacting each other, in order to prevent the other party from denying their own commitments. 7. Although the probability of disputes is low, it is essential to retain important information such as chat records, text messages, and email records, in case a dispute arises, so that ICTcoder can intervene quickly.
View details
  • 1. As a third-party intermediary platform, ICTcoder solely protects transaction security and the rights and interests of both buyers and sellers based on the transaction contract (product description, agreed content before the transaction); 2. For online trading projects not on the ICTcoder platform, any consequences are unrelated to this platform; regardless of the reason why the seller requests an offline transaction, please contact the administrator to report.
View details

Related Source code

ICTcoder Customer Service

24-hour online professional services