@the-stratos-network/contracts

1.0.1 • Public • Published

Stratos contracts

A library for stratos, tendermint and cosmos smart contract development.

  • Implementations of libraries like Bech32.

Overview

Installation

$ yarn add -D @stratosnet/contracts

Usage

Once installed, you can use the contracts in the library by importing them:

pragma solidity ^0.8.0;

import "@stratosnet/contracts/utils/Bech32.sol";

contract MyStratosAddress {
    using Bech32 for address;

    function getStratosAddress() public view returns (string memory) {
        return msg.sender.toBech32("st");
    }
}

License

OpenZeppelin Contracts is released under the MIT License.

Package Sidebar

Install

npm i @the-stratos-network/contracts

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

16.4 kB

Total Files

5

Last publish

Collaborators

  • oleks-qsnetwork
  • bothe1k