Money Button Documentation

Money Button Documentation

  • Money Button
  • API
  • Examples
  • Paymail
  • bsv

›API

Money Button

  • Money Button Overview
  • HTML
  • Javascript
  • React
  • Crypto Operations
  • Invisible Money Button
  • Paymail Signatures
  • Paymail Encryption
  • Simple Fabriik Protocol for Tokens

API

  • API Overview
  • Apps
  • Webhooks
  • Tokens
  • Currencies
  • Javascript Client
  • Authentication

    • Authentication Overview
    • OAuth
    • OAuth With JS Client

    API v1

    • Get User Identity
    • Get User Profile
    • Get User Balance
    • Get Payments
    • Get Payment By ID

    API v2

    • Get User Balances
    • Get Payments
    • Get Payment By ID
    • Get Assets
    • Create Asset
    • Modify Asset

Examples

  • Examples Overview
  • OP_RETURN Scripts
  • Assets

Paymail

  • Paymail Overview
  • Paymail Video Series
  • Paymail Introduction
  • BRFC Specifications
  • Specification Documents
  • BRFC ID Assignment
  • Service Discovery
  • Host Discovery
  • Capability Discovery
  • Public Key Infrastructure
  • Payment Addressing
  • Payment Addressing (Basic Address Resolution)
  • Payment Addressing (Payer Validation)
  • Payment Addressing (Payee Approvals)
  • Payment Addressing (PayTo Protocol Prefix)
  • Verify Public Key Owner
  • P2P Transactions
  • P2P Payment Destination
  • Recommendations

Bitcoin SV Library (bsv)

  • Bitcoin SV Library (bsv)
  • Big Numbers
  • Points (Elliptic Curves)
  • Hash Functions
  • Base 58
  • Private Keys
  • Public Keys
  • Addresses
  • ECDSA
  • Bitcoin Signed Messages
  • Signatures
  • HD Private Keys (BIP32)
  • HD Public Keys (BIP32)
  • Mnemonics (BIP39)
  • Script

Tokens

Money Button API allows you to create and transfer assets in the form of tokens in addition to regular bsv transfers and custom scripts.

Different protocols exist for this in the bsv ecosystem, check which ones we support in the Supported Protocols section.

To see a full example of how to create assets and transfer tokens, check out our Assets Example

Assets Identification

At Money Button we are using the paymail standard as a way to also uniquely identify an asset. When you create an asset, a paymail will be associated with it. This paymail will be used later in our APIs to identify the asset whenever a transfer needs to be made and to show a user's associated tokens balance for that asset.

Assets API

The relevant API endpoints that you'll want to use are:

  • Create Asset
  • Modify Asset
  • List Assets

This endpoints, together with Money Button's button API, will provide you with all that you need to create tokens that will be displayed in user's wallets, which they will then be able to transfer using Money Button wallet and APIs.

Supported protocols

When defining an asset, you'll need to choose which protocol to use. Here's a list of our currently supported protocols:

Protocol identifierDescription
SFP@0.1Simple Fabriik Protocol for Tokens

Use the protocol identifier with the Create Asset API endpoint to choose which protocol your asset will work with. We are trying to provide a seammingless experience for Money Button users whichever protocol an asset will use, but different protocols may provide different features specially to issuers.

Tokens Balances

Money Button API v2 provides a balances endpoint which, in addition to BSV balance, returns assets balances as well.

← WebhooksCurrencies →
  • Assets Identification
  • Assets API
  • Supported protocols
  • Tokens Balances
Money Button Documentation
Docs
Money ButtonAPIDesignbsv
Community
redditYoutubeTelegramTwitter
More
BlogInstagramGitHubStar
See an error in our documentation? Issue a pull request to fix it.
Copyright © 2021 Yours Inc.