All Projects → safudex → smartbnb

safudex / smartbnb

Licence: MIT license
Smart contracts on Binance Chain via a decentralized sidechain bridge with NEO

Programming Languages

C#
18002 projects
typescript
32286 projects
go
31211 projects - #10 most used programming language
javascript
184084 projects - #8 most used programming language
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to smartbnb

neo-csharpcoe
.NET Blockchain C# Developers Center of Excellence
Stars: ✭ 13 (-58.06%)
Mutual labels:  neo, neo-blockchain
neo-one
The One for easy, fast, & fun NEO app development.
Stars: ✭ 93 (+200%)
Mutual labels:  neo, neo-blockchain
Blockchain
区块链、交易所、币种、自媒体、高频交易策略
Stars: ✭ 37 (+19.35%)
Mutual labels:  neo
binance-node-docker
Docker image for Binance full and light nodes
Stars: ✭ 24 (-22.58%)
Mutual labels:  binance-chain
Neo Vm
NEO Virtual Machine
Stars: ✭ 152 (+390.32%)
Mutual labels:  neo
Neo Compiler
Stars: ✭ 62 (+100%)
Mutual labels:  neo
Neo Node
Stars: ✭ 192 (+519.35%)
Mutual labels:  neo
Awesome Blockchain
区块链白皮书、书籍、交易所、币种、自媒体等资源汇总 💯
Stars: ✭ 747 (+2309.68%)
Mutual labels:  neo
neo-go-sdk
Golang SDK for the NEO blockchain
Stars: ✭ 34 (+9.68%)
Mutual labels:  neo
Openwrt widora
Based OpenWrt cc15.05,for widora BIT3 3.1 4 5 5.1 and NEO
Stars: ✭ 150 (+383.87%)
Mutual labels:  neo
Examples
Stars: ✭ 132 (+325.81%)
Mutual labels:  neo
The Journal Of Blockchain
区块链自媒体、专注区块链技术学习和实践、IPFS/Filecoin、Bitcoin、Ethereum、EOS、Cosmos、区块链、白皮书、Coinmarketcap、Coindesk、Safe Network、Telegram、Docker、社会治理、经济激励
Stars: ✭ 63 (+103.23%)
Mutual labels:  neo
Neo Gui 2.x
Stars: ✭ 238 (+667.74%)
Mutual labels:  neo
Neo.org
Stars: ✭ 41 (+32.26%)
Mutual labels:  neo
neo-go
Go Node and SDK for the NEO blockchain
Stars: ✭ 104 (+235.48%)
Mutual labels:  neo
Screverser
Reverse engineer for Smart Contracts
Stars: ✭ 13 (-58.06%)
Mutual labels:  neo
Docs
NEO Documentation
Stars: ✭ 183 (+490.32%)
Mutual labels:  neo
Proposals
NEO Enhancement Proposals
Stars: ✭ 123 (+296.77%)
Mutual labels:  neo
unicorn-binance-websocket-api
An unofficial Python API to use the Binance Websocket API`s (com+testnet, com-margin+testnet, com-isolated_margin+testnet, com-futures+testnet, com-coin_futures, us, tr, jex, dex/chain+testnet) in a easy, fast, flexible, robust and fully-featured way.
Stars: ✭ 588 (+1796.77%)
Mutual labels:  binance-chain
ansy
Minimal NEO paper wallet generator
Stars: ✭ 31 (+0%)
Mutual labels:  neo

smartBNB

Smart contracts on Binance Chain via a decentralized sidechain bridge with NEO

TL;DR

SmartBNB is a project that enables Binance Chain tokens to trustlessly use smart contracts in the NEO blockchain through sidechains.

What is smartBNB?

SmartBNB is a trustless bridge that enables tokens on Binance Chain to be transferred to Neo’s blockchain and back. This enables tokens issued on Binance chain to use smart contracts in the Neo blockchain. As such, token issuers can benefit from Binance Chain’s DEX while taking advantage of Neo’s smart contracting capabilities.

Sending tokens from Binance Chain to Neo is done by locking tokens on Binance Chain, at which point the same number of tokens are minted on Neo. Once tokens are minted on Neo, they can be used for Neo-based smart contracts. User can later redeem tokens by burning them and unlocking the original tokens on Binance Chain. A collateral-based system is used to ensure that, in the event of any irregularity, users are fully compensated.

How does it work?

Like sidechains, SmartBNB system employs a lock=mint and burn=unlock system. The protocol ensures the secure locking of tokens on Binance Chain by using fully-collateralized custodians.

First, custodians have to deposit GAS tokens as collateral in a smart contract. These custodians can then receive and safekeep tokens from SmartBNB users who want to port tokens from Binance Chain to Neo.

When a user sends tokens to a custodian on Binance Chain, they are locked in the custodian’s vault. The protocol then mints new tokens on Neo to represent the locked tokens and sends them to the user. Later, users can burn their Neo-based tokens to retrieve their original tokens on Binance Chain. The custodian is forced to send these tokens back to the users, as the custodian will lose his/her collateral if this doesn’t happen.

Because of this collateral, which is set to be more than 150% of the locked tokens, the protocol is trustless. Custodians are heavily incentivized to behave honestly, as they will incur significant financial losses if they don’t. Users are fully protected from dishonest behavior by custodians, as their collateral would be given to affected users.

Custodians are rewarded for their custodial services. Anyone can become a custodian by depositing Neo as a bond. For the first time, it is possible to receive a return on capital that is locked on the Neo blockchain.

For more information, check out our protocol specification.

Deploy smartBNB for your own token

  1. Change the following constants inside Contract.cs:
    • PriceOracle (you will need to generate the private key to be used in the oracle contract)
    • Denom
    • Name()
    • Symbol()
  2. Deploy a full node along with NeoPubSub
  3. Deploy the updated Contract.cs to MainNet or TestNet
  4. Deploy a price oracle for your token
  5. Deploy a collateral provider
  6. Deploy a system that sends alerts on collateral liquidations for arbitrageurs
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].