sdtech/bitgo-laravel

It's a simple library to integrate bitgo wallet api

v1.1.0 2024-06-14 06:02 UTC

This package is auto-updated.

Last update: 2024-11-14 06:55:36 UTC


README

Latest Version Issues Stars Stars Total Downloads

About

A simple library that help you to integrate bitgo wallet api like create wallet address, deposit, withdrawal, webhook etc. The current features are :

  • User login, user profile.
  • Wallet list, also single wallet.
  • Generate new wallet address, address list.
  • Build transaction, initiate transaction, send transaction.
  • Withdrawal / send coins.
  • All transaction / approval list.
  • Webhook.

Requirements

Installation

  1. From your projects root folder in terminal run:
    composer require sdtech/bitgo-laravel
  1. Publish the packages views, config file, assets, and language files by running the following from your projects root folder:
    php artisan vendor:publish --tag=bitgolaravelapi

configuration

  1. Go to your config folder, then open "bitgolaravelapi.php" file
  2. here you must add that info or add the info to your .env file .
   'BITGO_API_BASE_URL' => env('BITGO_API_BASE_URL') ?? "",
   'BITGO_API_ACCESS_TOKEN' => env('BITGO_API_ACCESS_TOKEN') ?? '',
   'BITGO_API_EXPRESS_URL' => env('BITGO_API_EXPRESS_URL') ?? '',
   'BITGO_ENV' => env('BITGO_ENV') ?? 'test',

Uses

  1. We provide a sample code of functionality that will help you to integrate easily