fabiochiu/medium-articles huggingface dataset:
Yahoo Finance as a quote provider in BAEX
By: Baex Dapp
Tags: Baex, Smart Contracts, Cryptocurrency, Trading, Blockchain

Hello! 👋🏻 In this post, we will tell you about the quote provider in BAEX

📈 The relevance of information is practically the most important thing in trading. Late news of falling or rising prices can lead to losses or loss of profits.

There are not so many providers of information on stock prices on the market. Reuters, Bloomberg, Google Finance, and Yahoo Finance.

❓ Why is BAEX using Yahoo Finance?

🔸 First of all, it is the oldest financial information provider. It was founded in 1998. Thanks to such a long presence on the market, it has managed to prove itself excellently for traders. It has a more intuitive and simpler interface than the competition.

🔸 In addition, the site contains a wealth of background information on trading, business, finance, economics, and other related topics. There is also a forum and services for managing your own financial information.

✅ Despite many large competitors, being an excellent service with many competitive advantages, which provides the most relevant information to users in the most convenient way, Yahoo Finance has a leading position in the market.

📢 Learn more about the BAEX project on our website: https://baex.com/
Bitcoin White Paper Was Released 12 Years Ago
Tags: Smart Contracts, Cryptocurrency, News, Business, Blockchain

Monday is the day to discuss the main news of the crypto market over the past seven days. The last week of October was rich in interesting events! So here’s some relevant information in exchange for your likes and comments!

Bitcoin White Paper was released 12 years ago

October 31, 2008, which is 12 years ago, Bitcoin White Paper was first uploaded to the public domain. Satoshi Nakamoto published a document describing an innovative payment network and a new kind of money. By the way, it is still unknown who is hiding under this pseudonym: it is also not clear whether this is one person or a group of people.

We at FORSAGE.io want a tool like cryptocurrencies to become popular with as many people as possible. We value digital finance for its anonymity and transparency, and it was the Bitcoin White Paper that first identified these concepts as the basis of a new type of money 12 years ago! Of course, today there are cryptocurrencies and tools that are more advanced than BTC, but it is Bitcoin that will forever remain the first cryptocurrency.

Berlin hardfork on Ethereum will take place in January

The Berlin update on the Ethereum network is scheduled for January 2021. The developers of the second most popular cryptocurrency agreed on this during the last conference call. Berlin is intended to improve the functionality of Ethereum network, but before that the launch of the zero phase of Ethereum 2.0, now slated for December 2020, should take place. As part of the launch of the zero phase, it is also planned to activate the Beacon Chain using the Proof-of-Stake algorithm.

Recently, the Ethereum developers have seriously taken up the network update — the reason is the collapse that occurred in the ETH network in August this year. Then the time of transactions increased, and the commissions reached several tens or even hundreds of dollars. All innovations are aimed to resolve the issues of network scalability and ensure that ETH users do not suffer.

25% of all ETH is in the wallets of centralized exchanges

There are almost 26.7 million Ethereum (appr. $ 10.12 billion) on the wallets of centralized exchanges. This is 23.6% of the volume of the market supply of the second largest cryptocurrency by capitalization. This is the information obtained by the experts of the ViewBase analytical platform. The TOP-5 by the number of coins includes the following sites: Coinbase (8.5 million ETH), Bittrex (5.27 million ETH), Huobi (3.29 million ETH), Binance (2.87 million ETH), and Kraken (2.43 million ETH).

At FORSAGE.io, we support the ideas of decentralization and build the work of our platform in such a way that all transactions take place only between the participants’ wallets, without entering the community’s smart contract. This ensures platform reliability. Only a decentralized system can guarantee the safety of users’ funds and the transparency of all transactions.
The Phore Blockchain and the adoption of Blockchain and Cryptocurrency technology across Africa.
Tags: Smart Contracts, Cryptocurrency, Economy, Africa, Blockchain

image from Shutterstock.

Fast-evolving technologies such as Blockchain, Cryptocurrency, Artificial intelligence, Virtual/ Augmented reality, iot, and others are being researched and developed by different organizations from private to government establishments across the world creating mind-blowing technological solutions to real-world problems and improve businesses and general individual lifestyles worldwide.

Africa is not left out as it follows suit, adapting some of these technologies, especially blockchain and cryptocurrency into various economic sectors across the continent. As the adoption of Blockchain and Cryptocurrency keeps expanding all over Africa, especially in countries such as Nigeria, Kenya, and South Africa, which are the three biggest cryptocurrency markets in Africa, we see an emerging economy with enormous potentials.

Blockchain technology itself is projected to disrupt a lot of industries globally some of which include; Banking and Payment industries, Crowdfunding, Retail, and E-commerce, etc. With this, there are just no limitations to the possibilities of applications that could be created to solve real-world problems. This is where the Phore Blockchain technology plan to come in as a well-equipped player in disrupting most of these industries.

Phore Blockchain provides an ecosystem that facilitates free and sustainable decentralized commerce. Reaching beyond the core blockchain to include applications and ventures built on top of its platform. Phore Blockchain will provide a robust, secure, private, and completely Decentralized network underpinned by the Phore Coin, PHR. It will consist of a thriving ecosystem of privacy-enabled decentralized applications and a Marketplace that will provide real-world applications to enable private commerce and new privacy-enabled Business models.

Industries Blockchain Technology would disrupt soon. Coinpedia, October 27, 2018, www.coinpedia.org/top-10/top-10-industries-blockchain-will-disrupt/

Phore blockchain features a decentralized marketplace and crowdfunding applications, various blockchain service business ventures, and blockchain technology platforms such as the Phore cryptocurrency PHR. All running on a super-fast and secured sharding architecture technology built completely from scratch called Synapse.

The Phore Blockchain is built on a decentralized Governance system, with blockchain investment features such as the Phore Masternodes. Phore Blockchain is a decentralized ecosystem designed to facilitate the delivery of real-world solutions and blockchain technology all over Africa and the rest of the world.

Read more about Phore Blockchain on www.phore.io
Deploy Smart Contracts on Ropsten Through Ethereum Remix
By: Lokesh Gupta
Tags: Smart Contracts, Ethereum, Cryptocurrency, Bitcoin, Blockchain

A smart contract is a computer protocol intended to digitally facilitate, verify, or enforce the negotiation or performance of a contract. Smart contracts allow the performance of credible transactions without third parties. These transactions are track able and irreversible. Smart contracts were first proposed by Nick Szabo, who coined the term, in 1994.

Proponents of smart contracts claim that many kinds of contractual clauses may be made partially or fully self-executing, self-enforcing, or both. The aim of smart contracts is to provide security that is superior to traditional contract law and to reduce other transaction costs associated with contracting. Various crypto currencies have implemented types of smart contracts.

We used a local block-chain network called Ganache and used the truffle framework to deploy the smart contracts within a local test environment.

Ganache

Ganache is a personal blockchain for Ethereum development you can use to deploy contracts, develop your applications, and run tests.

It is available as both a desktop application as well as a command-line tool (formerly known as the TestRPC). Ganache is available for Windows, Mac, and Linux.

Truffle

A world class development environment, testing framework and asset pipeline for blockchains using the Ethereum Virtual Machine (EVM), aiming to make life as a developer easier. With Truffle, you get:

Built-in smart contract compilation, linking, deployment and binary management. Automated contract testing for rapid development. Scriptable, extensible deployment & migrations framework. Network management for deploying to any number of public & private networks. Package management with EthPM & NPM, using the ERC190 standard. Interactive console for direct contract communication. Configurable build pipeline with support for tight integration. External script runner that executes scripts within a Truffle environment.

Metamask

MetaMask is a bridge that allows you to visit the distributed web of tomorrow in your browser today. It allows you to run Ethereum Apps right in your browser without running a full Ethereum node.

MetaMask includes a secure identity vault, providing a user interface to manage your identities on different sites and sign blockchain transactions.

Remix Ethereum

Remix is a powerful, open source tool that helps you write Solidity contracts straight from the browser. Written in Javascript, Remix supports both usage in the browser or locally.

Ropsten Test Network

You don’t have to pay real ether to interact with the ethereum blockchain but you can get a feel of the real flow from an end-user’s perspective.
Capital Markets are Evolving
Tags: Tokenization, Digitalization, Smart Contracts, Blockchain

The Private Capital Shift

While the structural opportunities appear largely the same, the underlying dynamics of the global capital market are evolving. We see this manifested in the global decrease in mid to small cap securities offerings and the growth of the $1bill+ megadeals. From peak to trough, the current US market has seen a dramatic reduction (81%) in the number of IPO’s per year when compared to the mid 1990’s. Even when looking at broader time periods, IPO’s per year in this important global market have still reduced by approximately half in this decade when compared to the 90’s as a whole. However, as identified by public research from Vanguard, the headlines mask the important trend that the sharpest reductions have been in the small and micro-cap market space.

While the public market has slowed, t he last 20 years has seen the private capital market has grown at more than twice the speed of its public counterpart as it soaks up deals and companies that previously would have contemplated a public securities offering. According to Bain & Company, this trend shows “no slowdown in sight”.

When speaking at the inaugural Security Token Summit in Sept. 2018, David Weild, a former vice chairman of the NASDAQ, confirmed this view when asserting that “…our (conventional) capital markets are not designed to support small issuances.”

EY, in their May 2017 analysis of US capital markets, makes the case that private capital has to a large extent filled the gap highlighted by Mr. Weild, but the question remains as to how efficiently it has done so — this large and sophisticated market is overwhelmingly comprised of paper-based instruments being entered into between peers. These investments lack the efficiencies offered by digitalization and the new features that electronic instruments in a global market can provide.
Substrate & Ink Part 1 ~スマートコントラクト再入門~
By: Yuya Sugano
Tags: Parity, Smart Contracts, Blockchain Application, Substrate, Ethereum

Inkの導入

SubstrateおよびInkはRust言語上で動作します。Substrateのインストールについては以前の記事でも記載していますが再掲しておきます。既にSubstrateの環境がある方はRustの nightly が最新であることと、WebAssemblyのビルドがサポートされていることを確認してください。Inkのスマートコントラクトは .wasm ファイルにコンパイルされ、WebAssembly（Wasm）ランタイムとしてSubstrateチェーンへデプロイされます。[4]

Substrateのインストール方法です。

必要なライブラリやパッケージのインストールが始まり、Cargo/RustなどSubstrateのコンポーネントが順番にインストールされていきます。

One liner helps !!

これでインストール完了です。

Cloning into '/tmp/tmp.syyVafKCU8'...

remote: Enumerating objects: 48, done.

remote: Counting objects: 100% (48/48), done.

remote: Compressing objects: 100% (36/36), done.

remote: Total 169 (delta 25), reused 23 (delta 12), pack-reused 121

Receiving objects: 100% (169/169), 39.58 KiB | 0 bytes/s, done.

Resolving deltas: 100% (92/92), done.

Checking connectivity... done.

Run source ~/.cargo/env now to update environment

githubのsubstrate-upリポジトリからCLIのヘルパーをダウンロードしてきます。



$ cp -a substrate-up/substrate-* ~/.cargo/bin;

$ rm -rf substrate-up $ git clone https://github.com/paritytech/substrate-up $ cp -a substrate-up/substrate-* ~/.cargo/bin;$ rm -rf substrate-up

以下のコマンドで正しくインストールできていることを確認してください。
Bitcoin Script Engineering part IV
Tags: Script Engineering, Stateful Smart Contracts, Smart Contracts, Op Push Tx, Bitcoin Script

There has long been a belief that Bitcoin is lacking one crucial fundamental feature to perform smart-contracts that Ethereum has:

The ability to carry forward conditions/states (through its script) from one transaction output into the next one (of the transaction spending it).

OP_PUSH_TX — is the technique that makes it possible (a method, invented by nChain).

Below is a proper implementation of Bitcoin script-template of this part.

Namely, a one that has been heavily tested and has no redundancies.

In the generic template below, for a variable sighash any 4 constant values from ECDSA signing formula (corresponding a particular pair of ephemeral k and private key) may be used (and various sighash flags):

1) “r*privateKey” => Private key multiplied by r.

2) “inverse k” — inverse of ephemeral k value, used in ECDSA formula.

3) “r for DER” — Part of the DER format including r value prepended by “02” and the length of the r and appended with additional “02”.

4) “Public Key”.

5) “sighash flag”.

A working example of the template with 4 constants corresponding to specific pair of ECDSA ephemeral k and private key (and “ALL | FORKID” flags):

Its size is 612 bytes and it’s published on Bitcoin’s global ledger here (and another version of the same size here).

Another size reduction could be achieved through a use of a specific k and private key values.

Making it possible to substitute ”< r*privateKey > OP_ADD < inverse k > OP_MUL” code part with just single ”OP_1ADD” command.

It results in 512 bytes script size -100 bytes reduction. Published on the ledger here.

Note, other choices of “r” could result in a substitution with commands of addition of any other desired value to sighash, e.g. “OP_2 OP_ADD” or “FFFFFFFF OP_ADD” etc., but will only increase script size relatively to the template posted above (doing it with only one command).

This code may be used for any type of stateful smart-contracts.

It went through thorough optimization and any further non-negligible size reduction is not expected to be feasible (e.g. removing modulo operation for its low probability of failure and as a result removing the division of n by 2 is not optimization worth of bothering).

For any change of terms, license or contact details, this output will be spent and all the updated information will be found in the spending transaction’s new output.
A Significant Way to Start a Secured Smart Contract MLM Business Like Million Money
Tags: MLM, Smart Contracts, Cryptocurrency, Bitcoin, Mlm Software Development

A Significant Way to Start a Secured Smart Contract MLM Business Like Million Money Employcoder Aug 20, 2020·2 min read

Million Money Clone Script enables you to build your Million Money MLM Clone Website will all top features in a short period of time without any hassles.

What is Million Money?

Million Money is a smart contract-based MLM Business Platform that runs on Ethereum smart contracts powered by Blockchain technology. It allows registered users the fastest, easiest, and risk-free way to earn 1500 ETH for every 100 days.

How does Million Money MLM Works?

The main working principle of Million Money is the “Multi-Level Marketing “ in which all the transactions and functions of the website are built and carried via a smart contract that is written on the Ethereum Blockchain Network. As this works based on MLM, it involves the compensation Plan or Reward Program through which the users can make money.

How to Start an Ethereum Smart Contract based MLM Platform Like Million Money?

If you are looking to start your own Smart Contract based MLM Business like Million Money, Then Million Money Clone Script helps you to launch your MLM Platform in a few days.

Instead of Building MLM Platform from scratch, Readymade Smart Contract MLM Clone Script has proven to be a cost-effective solution that helps in faster development of MLM Platform and deploying it to the Market.

Million Money Clone Script enables you to build your Million Money MLM Clone Website will all top features in a short period of time without any hassles.

We, Employcoder leading Cryptocurrency Exchange Script Development company provides the powerful Million Money clone script with all advanced features and plugins. Our Blockchain developers are good at developing both readymade and customizable Smart Contract MLM clone scripts with attractive functionalities. We provide the best Smart Contract MLM Platform development with enhanced features at down to earth cost and on-time delivery.

Get an Exclusive Free Demo of our Million Money Clone Script !!
Features and benefits of smart contracts
By: Nansy Dunne
Tags: Smart Contracts, Cryptocurrency, Trading, Features, Blockchain

Hello. 👋🏻 Today we will tell you about smart contracts and their benefits.

🔗 Smart contracts are designed to conclude and maintain commercial contracts in blockchain technology. Automatic execution of smart contracts using distributed ledger technology can reduce the financial, administrative, and time costs of participants in concluding and fulfilling the terms of the transaction.

🔗 One of the most promising applications for smart contracts is the automation of banking services. Smart contracts will automate payments and reduce uncertainty and credit risks.

🏆 The use of smart contracts gives users a number of advantages at once.

✔️ Firstly, this is the transparency of the contract: the parties to the transaction can control its execution at all stages and make sure that the counterparty has fulfilled its part of the contract. Secondly, the smart contract provides for enforcement mechanisms, such as fines and sanctions.

✔️ Another advantage of smart contracts is their verifiability, which allows you to determine the participants and the sequence of their actions, forming an audit trail. Also, the value of smart contracts is in the security of their conditions and data from third parties. The privacy of a smart contract insulates it from external influences, and liability is limited to the parties to the transaction.

💎 BARTER Smartplace is a confidential digital asset exchange platform based on a legal smart contract. A legal smart contract with an electronic signature allows you to achieve high reliability and convenience of service.

💎 Smart contracts in the financial sector have shown their advantage over traditional methods of transferring value, but have not yet become widespread in the legal industry. Barter is looking ahead and expanding the use of smart contracts in the legal field by using digital assets as contract objects.

💎 By combining digital assets of different standards in one ecosystem, it becomes possible to exchange them among themselves instantly and practically free of charge, having received a real legal contract on a completed transaction with an entry in the data registry with a copy of the digital type of the contract

🔥 Invest in the future “unicorn” — BARTER Smartplace: http://barter.company

. . .

Join our community: t.me/barterteam

Telegram-wallet: t.me/barterwalletbot
Introduction to ICON Fee 2.0
By: Joonyoung Choi
Tags: Icon, Smart Contracts, Blockchain

Get & Set Fee Sharing Proportion

IconScoreBase Built-in methods

get_fee_sharing_proportion

set_fee_sharing_proportion

get_fee_sharing_proportion / set_fee_sharing_proportion

IconScoreBase를 상속받은 SCORE 클래스에서 set_fee_sharing_proportion 메소드를 통해 수수료 분담률을 설정하고, get_fee_sharing_proportion 메소드를 통해 현재 설정되어 있는 수수료 분담률을 확인할 수 있습니다.

Set Fee Sharing Proportion Generally

# Case 0: on_install 메소드를 통해 수수료 분담률 설정 초기화

def __init__(self, db: IconScoreDatabase):

super().__init__(db)

self.fee_sharing_proportion = VarDB("proportion", db, int) def on_install(self, proportion: int):

super.on_install()

if not (0 <= proportion <= 100):

revert(f"Invalid proportion: {proportion}")

self.fee_sharing_proportion.set(proportion) @external

def externalMethod(self):

proportion: int = self.fee_sharing_proportion.get()

self.set_fee_sharing_proportion(proportion)

# do something

일반적으로 컨트랙트 이용 전반에 적용될 수수료 분담률을 설정하여 사용할 수 있습니다.

Set Fee Sharing Proportion for Each User Individually

def __init__(self, db: IconScoreDatabase):

super.__init__(db)

self._whitelist = DictDB("whitelist", db, int)

self._value = VarDB("value", db, str) @external

def addToWhitelist(self, address: Address, proportion: int = 100):

if self.tx.origin != self.owner:

revert("Invalid SCORE owner")

if not (0 <= proportion <= 100):

revert(f"Invalid proportion: {proportion}")

self._whitelist[address] = proportion @external

def externalMethod(self, value: str):

proportion: int = self._whitelist[self.tx.origin]

self.set_fee_sharing_proportion(proportion)

# do something

특정 유저에 대한 수수료 분담률을 컨트랙트의 소유자가 설정하는 방식으로 유저의 컨트랙트 이용에 대한 수수료 부담에 차등을 주어 운영할 수 있습니다.

이러한 방식으로 ICON 네트워크에서는 컨트랙트의 소유자가 수수료 분담률을 설정하여 사용할 수 있습니다.
Introducing sCrypt Debugger
Tags: Smart Contracts, Bitcoin, Scrypt, Debugger, Bitcoin Sv

Today we are extremely excited to announce the biggest improvement since we first released our IDE, a source-level sCrypt debugger. It supports breakpoints, stepping, stack trace, and variable inspection, all of which are tremendously helpful for developers to find and fix bugs.

How to Use the Debugger

Simply create a launch.json file located in your workspace's .vscode folder and hit F5 to start debugging.

Debug Session With Launch Configuration

As in other VSCode debuggers, the launch.json file stores debugging configurations. Below is a reference on launch.json attributes specific to the sCrypt debugger.

launch.json

type and request attributes are fixed. Other attributes are:

name : name of the debugging session

: name of the debugging session program : an absolute path to the sCrypt program to debug. ${workspaceFolder} is a predefined variable referring to the path of the folder opened

: an absolute path to the sCrypt program to debug. is a predefined variable referring to the path of the folder opened constructorParams : constructor arguments in sCrypt literal format, separated by commas

: constructor arguments in sCrypt literal format, separated by commas entryMethod : public function name

: public function name entryMethodParams: function arguments in sCrypt literal format, separated by commas

Alternative to Launch Debugger

You can also launch the debugger without a launch.json file. Simply open the .scrypt source file you want to debug and hit F5.

Debug Session Without Launch Configuration

For more general information on debugging in VSCode, you can visit this and this.

Happy debugging!
aelf Tech Talks — aelf Profit Contract Interpretation Pt 3
By: Aelf Developer
Tags: Aelf, Smart Contracts, Tech Talks, Technology, Profit Generation

Token Holder contract: Lock in designated Tokens to share DApp profits

To achieve profit from DApp contracts for general users, developers will enter into the profit scheme. The scenario is set as follows: DApp releases its tokens in some way. For example, a token is called APP and can create a profit scheme through the Token Holder contract, contributing a certain portion of the profits to the profit scheme when the contract is profitable. Users holding APP Tokens can participate in the profit distribution of DApp developers during the locking period by locking app tokens based on token holder contract.

DApp developer interface: creating and managing profit schemes

Create and Manage profit schemes

In essence, the scheme directly uses the CreateScheme method in the profit contract. Considering that the scheme is to distribute profit to the holders and has the context of ‘the holders invest to obtain corresponding profit’, some parameter values are fixed, such as:

Is it the default to distribute profits on the General Ledger of all profit schemes each time you distribute profits? Yes.

Is it allowed to remove a profit beneficiary directly? Yes. (because the holder is not required to declare the length of the lock)

In addition to the creation of the corresponding profit scheme, in order to prevent the holders from knowing the profit distribution time in advance, they will be required to carry out a speculative lock up. The DApp contract is allowed to set the minimum lock in time of the holder and the value of automatic distribution when the General Ledger quota of the profit scheme triggers.

profit management plan

The implementation of the above interfaces is the application of the interface with the same name of the profile contract.

When managing profit beneficiaries, only one profit detail list of each beneficiary is reserved, that is to say, multiple lock positions of beneficiaries can be consolidated.

Interface used by the holder: lock up and receive profits

The name of the lock interface: Register For Profits。The only way to unlock is to provide DApp contract address.

As mentioned above, “when the General Ledger quota of the profit scheme triggers automatic distribution”, it is judged when the user locks the warehouse. The ‘DistributeProfits’ triggered here belongs to the inline transaction and does not require the holder to pay extra transaction fees.

When the holder unlocks, it will judge whether it has passed the minimum lock time set for the profit project.
Smart Contract Security Newsletter #36
By: Shayan Eskandari
Tags: Newsletter, SEC, Smart Contracts, Ethereum

(This newsletter was sent out on April 22nd, Sign up to receive them on the first day)

Distilled News

DeFi Rollercoaster — imBTC, Uniswap & dForce lendFme

Over the weekend, DeFi saw one of the biggest hacks in DeFi history, more than $25M. However, the hacker returned all the hacked assets at the end. Sorry for the spoiler.

The hack was a result of a re-entrancy attack made possible by the ERC777 token standards callback functionality.

This attack was actual discussed in our Uniswap audit more than a year ago,

And a proof of concept exploit was published by Open Zeppelin

Some good overview resources include Peckshield’s very technical writeup of the attack, and DeFi weekly has a very accessible writeup outlining the basics of the attack, and the ensuing negotiations with the hacker.

Collusion in Gitcoin Grants — @owocki on twitter

Gitcoin recently concluded its most recent round of grants, which allows anyone to contribute as much or as little to any of the listed projects. The interesting thing about Gitcoin grants is that donations are matched according to the CLR mechanism.

The amount received by the project is (proportional to) the square of the sum of the square roots of contributions received.

This scheme puts more emphasis on how many people donated, and less on how much each individual donated. So if 4 people each donate 2 DAI to a particular project, it will receive more matching funds than if 1 person donates 8 DAI.

Naturally this creates a strong incentive for collusion and/or sybil attacks. Kevin Owocki’s twitter thread describes a particularly active collusion ring supporting the same project:

47% of contributions to a particular grant were funded by the same account.

We felt this was important to highlight, because as we still see the occasional system designed with the assumption that different addresses are necessarily different people.

Updates on Smart Contract Analysis Tools

Coinmonks wrote an interesting article comparing different Ethereum Security Analysis Tools, focusing on Slither, Mythx, and Securify.

A few updates on the Mythx side, MythX integrated into Embark, using their Embark MythX plugin.

Also Valentin Wustholz from Mythx team, has been working on improving Harvey, a fuzzer tool for Ethereum. Here’s a blog post about the recent developments, Targeted fuzzing using static lookahead analysis, and if you want to get in depth of the tool check out their paper.
Redesigning the Tezster GUI
By: Aditya Gautam, Adi
Tags: Smart Contracts, Tezos, Ganache, Tezster, Tezsure

Redesigning the Tezster GUI

Tezster is Ganache for Tezos. It includes a personal Tezos blockchain, baker, Command-line tool, and Desktop application. The Tezster suite contains the Tezster tool and Tezster Bundles. It provides a complete interface to build, deploy, and interact with smart contracts and decentralized applications on Tezos.

Let's find out how the Tezster GUI works!

Prerequisites

Before we get started, make sure you have the following tools installed:

Node v. 12.x+

Tezster-CLI

If you don’t have them installed yet, you can follow the steps below to make sure you are ready to use the Tezster GUI.

Node.js Installation Guide

Use the following link to install Node.Js on your system: https://nodejs.org/en/download ​

Or, you can use the following official link to download via package manager based on your operating system. https://nodejs.org/en/download/package-manager ​

After installing run the following command to verify and check the installed version.

node -v

Tezster-CLI Installation Guide

Tezster-CLI will create sandboxed nodes on your local machine. You will be able to interact with them flawlessly with the Tezster GUI.

Note: Currently the local nodes of the Tezster-CLI are only available for the Linux operating system and will be available soon for MacOS and Windows. Connecting with a remote testnet like ChartageNet still works.

sudo npm install -g tezster@latest

Run the following command to ensure the installed version of the tezster-CLI.

tezster --version

To start the nodes run:

tezster start-nodes

Now we can install the Tezster GUI!

Installing on Linux

Step 1: Downloading AppImage package

you can download the AppImage file using the following link.

Or you can install Tezster-GUI with the following command in your terminal:

Step 2: Make it executable

By default, the AppImage file won’t have execution permission. You’ll have to change the permission on the file to make it executable.

Just right click on the downloaded AppImage file and select Properties.
V Systems Payment Channels
By: Jacob Gadikian
Tags: Blockchain Technology, Smart Contracts, Cryptocurrency, Technology News, Blockchain

Unidirectional Payment Contracts for Off-Chain Payments

A payment channel is a payment contract that enables instant, trustless, unidirectional transactions between two individual users. Recipients of assets that have traveled through a payment channel aggregate messages that allow them to claim funds from a payment channel.

Tradeoffs

The key trade off of the V Systems payment channel design for instant, trustless payments is that the recipient must be aware of the payment channel’s duration and make their claim before the payment channel closes. The recipient’s wallet software can monitor the states of payment channels that he has received transactions from and ensure that claims are always made before payment channel closure.

Opening payment channels

When users open a payment channel, they set three variables:

Address (who will this payment channel send to?)

Duration (when will this payment channel close?)

Capacity (how much will this payment channel contain?)

V Systems payment channels can technically be used on any blockchain supporting smart contracts, but the first implementation of payment channel contracts is on the V Systems blockchain, so let’s walk though the first use case.

Walkthrough

Alice is a Tachyon VPN user.

Bob is a Tachyon VPN Node Operator.

Alice would like to pay Bob 0.05 IPX for every 5MB of traffic she consumes. She doesn’t want anyone but Bob to know when she is using the internet, either. Alice opens a payment channel addressed to Bob containing 100 IPX tokens set to expire a week from now. Every time Alice has consumed 5MB of bandwidth from Bob, she sends Bob a message allowing him to claim .05 IPX When Bob wants to claim the IPX that he has accumulated, he takes the last message that Alice sent him and submits it to the payment channel contract. The payment channel then emits Bob’s IPX. Bob must claim his IPX before Alice’s payment channel closes, so Bob’s wallet automatically tracks the state of payment channels opened to his address once he has received a message from them.

Security and Trustlessness

Payment channels are secured through relatively simple mathematics. The contract ensures security using this system:

x is the total of funds added to the payment channel by the sender

y is the capacity remaining in the payment channel after emissions to the recipient are settled to the blockchain

z is the amount the payer needs to send to the receiver in an off chain message

x >= y >= z

The capacity of the payment channel, X, must always be greater than or equal to Y, the capacity remaining in the payment channel after settlements to the blockchain have occurred.

Y must always be greater than or equal to Z, the amount the payer needs to send to the receiver

Summary

Payment channel offers a uniquely fast and lightweight way to accomplish secure, trustless off-chain transactions that can be finalized by settlement to the blockchain at any time of the recipient’s choosing.
Trade AUDT using Uniswap: Guide 🇦🇺
Tags: Smart Contracts, Ethereum, Defi, Uniswap, Crypto

AUDT is a stablecoin linked to the Australian dollar. AUDT are linked to audited Australian Dollar bank deposits, domiciled in Australia.

What you need

AUDT or ETH or both , depending on what you would like to do, buy , sell or provide liquidity .

or or , depending on what you would like to do, , or . Metamask or another supported Ethereum wallet application.

or another supported Ethereum wallet application. Supported Browser (Chrome, Firefox, etc.)

Buy AUDT

Visit uniswap.org in your browser and click launch App.

Click ‘Connect to a wallet’ in the upper right side of the window, choose your preferred wallet application (We use Metamask in this example) and confirm the operation displayed.

After successfully connecting your wallet with Uniswap, you can choose which two ERC-20 token, or ETH you want to swap.

To buy AUDT, you must first search for it by pasting the AUDT token contract address in the search field:

0xd7e0f80fb28233bdde0006c50568606a8feb964c

Search for AUDT using its contract address: 0xd7e0f80fb28233bdde0006c50568606a8feb964c

When done successfully, AUDT will show up in the ‘To’ field.

Choose how much ETH you want to exchange for AUDT and click Swap

Confirm the Swap and a smart contract will automatically exchange your ETH for the respective amount of AUDT. The same can be done between any other token where Uniswap automatically routes the swap through multiple smart contracts.

You can exchange any other ERC-20 for AUDT, too.

Provide liquidity for AUDT markets

Uniswap allows anyone to provide liquidity for any markets by granting token to so-called pools. Such liquidity providers can accumulate trading fees.

The following describes how to provide liquidity to the AUDT/ETH market.

Start by connecting your Wallet to Uniswap as described in the previous part of this guide ⬆️⬆️⬆️

Then click Pool and Add Liquidity

Now choose for which market you want to provide liquidity, in our case it’s the AUDT-ETH market.

To choose AUDT, paste the token contract address in the search field:

0xd7e0f80fb28233bdde0006c50568606a8feb964c

Choose how much token you want to lock to act as liquidity, click Supply and confirm.

Note: You always need the same amount of token worth on both sides, e.g $100 in AUDT and $100 in ETH.
The Cardano Shelley Hybrid Era and the d parameter
Tags: Smart Contracts, Cryptocurrency, Cardano, Shelly, Staking

Hi, we’re ADABros.com (Ticker: ABRO) Cardano Stake Pool and we are excited to share this latest development. This write up and info is sourced from the original video posted by Charles Hoskinson CEO of IOHK and founder of Cardano.

A quick recap of what Cardano is; it is the 3rd generation block chain technology that was launched in September 2017 built around peer reviewed papers; where ADA is the native token that runs on this platform. It has been designed from ground up to address the following three shortfalls of 1st generation (Bitcoin) and 2nd generation (Ethereum) Crypto currencies:

Scalability (Transactions / second speed, Network bandwidth, Data storage)

(Transactions / second speed, Network bandwidth, Data storage) Interoperability (Work with many Crypto currencies out there, become trustworthy with banks)

(Work with many Crypto currencies out there, become trustworthy with banks) Sustainability (Who pays for the development, who gets to decide what we work on)

On July 29th 2020 Cardano network transitioned into shelley era with a hard fork. We have this concept of d (decentralisation) parameter and right now it’s set to d=1. It’s kind of like a wall that gets slowly but surely get taken down.

The Cardano network gets fully decentralised when d=0. What the d parameter represent is the proportion of the block that are made by the stake pool operators (such as ADABros), not the OBFT protocol managed by IOHK.

Right now the network is operating in a static and federated mode, so these IOHK’s OBFT pools are operating at for no profit whats so ever, just making blocks and upholding the network.

Now that the hard fork is done, all the logic is in place to turn on Ouroboros Praos, which is what shelley is running under. This is accomplished by setting d parameter to something less than 1, which means a percentage of blocks will be made by the Stake Pool Operators (SPO), instead of the OBFT nodes.

There are three phases to this and is determined by the value of d parameter:

On the 14th of August 2020, a blog post will be released by IOHK that outlines the steps to bring down the value of d parameter towards 0.

We will have a new variable (let’s call it alpha α) that will act as a constant decay rate of the d parameter. Every epoch (where 1 epoch is 5 days), the value of d will decrement by the value of α marching towards 0.

Initial straw man value appears to be around 0.025, which means approximately in 200 days the d parameter will be 0 where the network will achieve complete decentralisation.
Stakepool — A price prediction experiment without losers💸
By: Pawan Dhanwani
Tags: Smart Contracts, Prediction Markets, Tezos, Tezsure, Blockchain

Stakepool — A price prediction experiment without losers💸

Do you think you are very lucky? Do you want to earn more baking rewards? Stakepool is here for you. Earn some tasty tez by predicting the price of XTZ/USD at the end of a particular cycle. The party starts in cycle 357! Pawan Dhanwani Follow May 8 · 3 min read

What is Stakepool?

With Stakepool you can earn bonus staking rewards by predicting the future tez price range in US dollar. You win if you correctly predict the tez price range at the completion of the 2 cycles that come after the cycle in which you placed your bet. All baking rewards accrued in the smart contract are distributed among the winners as weighted averages of the total staked amount. If your prediction is wrong, your staked tez is returned but you miss out on your staking rewards for the respective cycles. A fee of 2% for use of the platform is charged on the prize pool and therefore only paid by the winners.

Example: We are currently in cycle 1. Alice and Bob think that they know what the price of 1 tez will be after the coming staking period (2 cycles) US dollar. They both place a bet on Stakepool. Bob is bullish and Alice is bearish. Alice and Bob wait for 2 cycles; plenty of time to attract more friends to Stakepool and increase potential juicy rewards by increasing the amount of tez locked in future staking periods. Cycle 4 starts and the price is up, Bob has won! He can withdraw his staked tez and of course his juicy Stakepool bonus. Alice is wrong this time, she can withdraw her staked tez to give it another try. Unfortunately no staking rewards for Alice this time.

How do I get started?

Visit stakepool.live with any browser that is compatible with Temple wallet, such as Chrome or Firefox. Make sure Temple is installed.

Start predicting!

Every cycle you get a chance to show your prediction skills. First you decide the amount to stake (currently capped at ꜩ10), then you predict the price range of the XTZ/USD pair at the end of the 2 upcoming cycles. Thus, your tez will be locked for 2 cycles.

Currently we support six price ranges:

down 8% or more down 4% - 8% down to 4% up to 4% up 4% - 8% up 8% or more

How do I get my tez back after the staking period?

On the Staking Orders page you can claim your stake or stake + rewards depending on whether your prediction is right or wrong. You can withdraw your stake as soon as the staking period is over.

Any future plans?

We have defined functionalities for our next version, but we are open for suggestions! Let’s start the discussion and join us on Discord. Functionalities currently under development:

Betting on the price of multiple token pairs

Adding additional incentives for placing bets

Reduce the staking period for shorter waiting times

We will be rewarding early supporters of Stakepool in the future. A nice surprise is waiting for all predictors, so stay tuned!
The importance of smart contracts in the Barter system
By: Nansy Dunne
Tags: Transactions, Smart Contracts, Cryptocurrency, Barter, Blockchain

Hello. 👋🏻 Today we will tell you about the features of smart contracts in Barter.

🤖 Smart contracts are computer code for transmitting information, where mathematical algorithms are used to automatically execute a transaction after certain conditions are met by all parties involved.

🏆 Smart contracts have the following benefits:

✔️ Immutability

✔️ Security

✔️ Openness

✔️ Autonomy.

✔️ Lack of human factor (errors)

✔️ Reduced costs due to the absence of intermediaries

✅ Barter: Smartplace is a confidential digital asset exchange platform based on an electronically signed legal smart contract that achieves high reliability and service convenience.

✅ Barter is designed so that high volume transactions are fast, low transaction costs, and legally binding — a signed contract. A smart contract is a guarantor of the execution of the contract, subject to all the previously established conditions.

✅ Barter is expanding the use of smart contracts in the legal field by using digital assets as contract objects.

🏆 Our platform connects digital assets of different standards in one ecosystem, opening the opportunity to exchange them with each other instantly and practically free of charge, receiving a real legal contract on a completed transaction with an entry in the data registry with a digital copy of the contract.

⚡️ Read about this and other benefits of Barter: Smartplace at http://barter.company

. . .

Join our community: t.me/barterteam

Telegram-wallet: t.me/barterwalletbot
Limits of DeFi in Liquidity Supply and Scalability in DeFi
Tags: Ducato, Smart Contracts, Defi, Protocol, Delio

DeFi does not ask users’ ID and rely on intermediaries. This is why collateral assets matter the most for DeFi. A variety of DeFi protocols used in the current digital asset market are be of no avail without a collateral asset. Although synthetic assets like DAI, whose value is pegged to the USD, can be utilized as a collateral asset, another collateral asset need to be posted for synthetic assets for issuance. The amount of Total Value Locked is used as an indicator that presents the sum of asset value deposited on smart contracts. This in turn shows how big the DeFi market is. The current DeFi market size is inconsiderable even if the entire ethereum, which is the biggest cryptocurreny in the market, is taken as collateral. Therefore, the issue at hand is finding a solution to bring more digital assets into the market.

The primary service of DeFi is lending and deposit using Ethereum smart contracts, which has the second largest market cap. And DeFi relies on collateral assets. With this background, we suggest ways of expanding the market: Limits of Scalability in DeFi

1) Bringing the number one cryptocurrency Bitcoin into the DeFi market whose market cap. reaches KW160 trillion;

2) Tokenizing physical assets like gold, fiat, property, etc. to use as collateral.

Regarding the first suggestion, Bitcoin does not use smart contracts. The second one requires intermediaries and is only possible on the centralized system. As such, market expansion of DeFi cannot be solved with DeFi alone, and the issue regarding collateral asset expansion must be tackled.

Our other resources:

Homepage: http://ducato.io

Homepage: http://delio.io

Telegram: https://t.me/DUCATO_Channel

Medium: https://medium.com/ducato

Twitter: https://twitter.com/DUCATO_DeFi

Facebook: https://www.facebook.com/DeFi.DUCATO

Linkedin: https://www.linkedin.com/company/ducato-defi

YouTube: https://www.youtube.com/channel/UCB1p7-VVW51vEm02gQbb9vA

Original Medium Post: https://medium.com/@ducato.mkt/limits-of-defi-in-liquidity-supply-and-scalability-in-defi-d05a52a366bc
Everything you need to know about De-Social Commerce
By: Dsf Chain
Tags: Ecomerce, Smart Contracts, Cryptocurrency, Dsf, Blockchain

Hello! 👋🏻 In this post, we will tell you about De-Social commerce in the DSF project.

📌 Decentralized platforms are attracting more and more users. This is not surprising, because decentralization opens up many opportunities that were previously unavailable.

📌 In addition to trading operations, today there are solutions among decentralized projects that provide a unique type of products to the market

💡 One such solution is DSF

⚙️ Commerce within decentralized platforms is an idea that previously seemed unrealizable to many because there was absolutely no way to control the execution of transactions.

🔓 In addition, there were a number of security problems that became possible to solve only now.

🖥 Blockchain and smart contracts changed all this. The blockchain allowed for a distributed and secure storage of data with reliable protection against forgery.

🤖 Smart contracts, thanks to their architecture, guarantee users that transactions will be executed if and only if all parties to the transaction can fulfill their obligations.

✅ The DSF project is a unique platform in the entire market of decentralized systems, thanks to the opportunities it provides to all users in e-commerce

📢 Find out more about de-social commerce in DSF and the opportunities it offers: https://dsft.io