GithubHelp home page GithubHelp logo

owans / rif-wallet-starter-kit Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 4.59 MB

The RIF Wallet Starter Kit installs basic tools needed to run the RIF Wallet App and start integrating.

Home Page: https://rif.technology/solutions/#rif-wallet

License: MIT License

Shell 100.00%
defi rif smart-contracts wallet rif-wallet

rif-wallet-starter-kit's Introduction

RIF Wallet Starter kit

RIF Wallet Banner

The RIF Wallet Starter Kit contains a setup script for installation of some of the tools and dependencies needed to set up and run the RIF Wallet App and RIF Wallet Services locally. This README contains a guide on how to run the setup scripts.

Table of Contents

Introduction

RIF Wallet is an open source smart contract wallet which enables businesses to create and deploy fully customizable on-chain wallets. Easily build and deploy an on-chain wallet, using a set of wallet infrastructure APIs and libraries, the wallet features like the RIF Relay for payment of gas fees using ERC20 tokens, RNS (RIF Name Service) for sending and receiving crypto using a easy-to-remember nicknames.

Developers and businesses can now take advantage of the wallet smart contract capabilities, open source libraries and functionalities of RIF wallet to build and customize their own wallet in a few minutes.

See the Developer Reference Guide section in the RIF Wallet Documentation for a step by step guide on how businesses can set up and customize the RIF wallet to suit their business needs.

For more information, see the RIF Wallet Documentation

What's included?

The setup script contains the following files;

  • An install script to install some dependencies
  • An uninstall script to uninstall the dependencies

Tools

Note that the following tools and deps will be installed when the script is run:

  • Homebrew
  • Nodejs (v16+)
  • Yarn
  • Watchman
  • Cocoapods
  • Ruby

Getting Started

This starter kit only downloads and installs the deps listed in dependencies, you are required to manually download and install other tools deps not covered in the install script, this includes XCode, Android Studio, etc.

Step 1: Clone this repo

git clone {repo url}

Note: Ensure both install and uninstall scripts are in the same directory.

Step 2: Open the bash/terminal

Step 3: Starting the Shell Script

To start the shell script, please run the command below:

sh ./install.sh

This script checks if tool already exists, if not, it then downloads and install the tool.

Uninstalling the tool

To uninstall, run the command below:

sh ./uninstall.sh

Note: This command uninstalls the tools listed in Tools.

Next steps

Downloading the app

The RIF Wallet App is available for download on IOS and the Android app stores.

Clone the Repos

Download and Install deps

  • Ensure one of the following deps is installed, XCode or Android Studio depending on your platform.

Setup the RIF Wallet Services

The RIF Wallet Services provide a basic account querying API to bootstrap your app.

See the guide on How to setup and run the App with Local Services or use the README

Setup the RIF Wallet App

The RIF Wallet is a Smart Wallet for Rootstock.

To start the smart wallet, ensure you are connected to the server locally by following the steps in Running with Local Services. Follow the steps below or see the setup instructions in the README.

Troubleshooting

Error: Requirements installation failed with status: 1. RVM is not a function, selecting rubies with 'rvm use ...' will not work.

You need to change your terminal emulator preferences to allow login shell. Sometimes it is required to use /bin/bash --login as the command. Please visit https://rvm.io/integration/gnome-terminal/ for an example.

To fix this, run the command below;

 /bin/bash --login

Response:

The default interactive shell is now zsh. To update your account to use zsh, please run chsh -s /bin/zsh.

Run the command:

chsh -s /bin/zsh

Response: Changing shell for $user. Enter password and you should have successfully run the installation script.

You should see a Setup completed response if installation was successful:

For more troubleshooting options, see the Developer Reference Section in the RIF Wallet Documentation.

Frequently Asked Questions

  • See the FAQ section in the RIF Wallet Documentation.

Contributing

Coming soon.

Important Links

rif-wallet-starter-kit's People

Contributors

owans avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

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.