2.11.0 • Published 3 years ago

@cosmic-plus/base v2.11.0

Weekly downloads
4
License
MIT
Repository
github
Last release
3 years ago

base / ReadmeContributingChangelog

Readme

Licence Dependencies Vulnerabilities Downloads Bundle

This package contains various modules related to Stellar on which higher-level cosmic-plus libraries depends.

Note: This is an internal library and may be modified in compatibility-breaking ways.

Install & Import

  • Npm npm install @cosmic-plus/base
  • Yarn yarn add @cosmic-plus/base

Then: const { $module, ... } = require("@cosmic-plus/base")

To pick a module: const $module = require("@cosmic-plus/base/es5/$module")

Modules

Configuration

  • wallets: A list of wallets that accept arbitrary Stellar transactions as input.

Utils

  • friendbot: A function that fund a wallet on testnet: frienbot(publicKey).

Dispatchers

Dispatchers implements different way to load modules depending on whether the environment is Node.js or browser.

  • axios Get Axios from StellarSdk when using browser environment to save loading time.
  • buffer Get Buffer from StellarSdk when using browser environment to save loading time.
  • stellar-sdk Get StellarSdk from global environment when using browser environment.

Additional Resources

Links

Organization: Cosmic.plus | @GitHub | @NPM

Follow: Reddit | Twitter | Medium | Codepen

Talk: Telegram | Keybase

2.11.0

3 years ago

2.10.0

3 years ago

2.9.0

4 years ago

2.8.1

4 years ago

2.8.0

4 years ago

2.7.0

4 years ago

2.6.1

4 years ago

2.6.0

4 years ago

2.5.2

4 years ago

2.5.1

4 years ago

2.5.0

4 years ago

2.4.0

5 years ago

2.3.1

5 years ago

2.3.0

5 years ago

2.2.0

5 years ago

2.1.0

5 years ago

2.0.5

5 years ago

2.0.4

5 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.3.6

5 years ago

1.3.5

5 years ago

1.3.4

5 years ago

1.3.3

5 years ago

1.3.2

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.0

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago