Giter VIP home page Giter VIP logo

btp-product's People

Watchers

 avatar  avatar  avatar  avatar  avatar

btp-product's Issues

BMR Core Module

This might already be done, but need to confirm if any changes must be done for BTP 2.0.

@mksong-icon - does the current BMR need any changes? If not, then we can close this issue

BTP Whitepaper

It doesn't need to be long. It should be mostly technical, focused on how BTP messages work, how it's secured, the role of the Relay, the role of each contract, how each contract actually works (i.e. how blockUpdate is performed).

BTP NFT Token Standard

As opposed to wrapping an NFT on its native chain, then minting on destination, it should have a burn functionality to never exist on more than one network.

Example:

  • Originally minted on Chain A
  • To transfer to Chain B, burn on Chain A, send proof to chain B, then mint on Chain B
  • To transfer to Chain C, Burn on CHain B, send proof to chain C, then mint on Chain C
  • It never exists on two chains

BTP Fungible Token Standard

Example would be the OmniChainToken.sol

As opposed to wrapping a token on its native chain, then minting on destination, it should have a burn functionality to never exist on more than one network.

Example:

  • Originally deployed on Chain A
  • To transfer to Chain B, burn on Chain A, send proof to chain B, then mint on Chain B
  • To transfer to Chain C, Burn on CHain B, send proof to chain C, then mint on Chain C
  • It never exists on two chains

Design support for probabilistic finality

Rationale
It is desirable to not be dependent on specific consensus mechanisms. We can assume that blocks with some threshold number of confirmations are on the longest chain, and provide some backup mechanism to restore state to a specified block height in the event that the longest chain changes.

Acceptance Criteria

  • Discuss feasibility of supporting probabilistic finality
  • Identify state restoration mechanism
  • Confirm whether or not we will support probabilistic finality in BTP 2.0

Open Questions
Please post any relevant questions as a comment in the issue thread

Create negative tests cases

We need to specify what the expected behavior is in circumstances where input data is invalid, and create unit test cases for this.

xCall Fee Structure

Let's add another value in the database for each entry. We need two types of fees, one for the BTP protocol and one to compensate Relays for the cost of processing the message. It can be very simple for now, but want the data structure to be there from the start. For example:

feeObject:
Dest Chain = Harmony
relayFee = .25 ICX
protocolFee = 0.01ICX

Relay fee goes to Relay, protocol fee goes to BTP protocol (eventually, Fee Aggregator SCORE)

For now, we don't need actual destinations of these fees. Just an admin function like setRelayFeeAddress and setProtocolFeeAddress.

Message Broker in Java

This might already be done, but need to confirm if any changes must be done for BTP 2.0.

@mksong-icon - does the current BMC need any changes? If not, then we can close this issue

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.