|
1 | 1 | # OST Ruby SDK |
2 | 2 | [](https://travis-ci.org/ostdotcom/ost-sdk-ruby) |
3 | 3 |
|
4 | | -The official [OST](https://dev.ost.com/) Ruby SDK. |
| 4 | +[OST](https://dev.ost.com/) Platform SDK for Ruby. |
5 | 5 |
|
6 | 6 | ## Introduction |
7 | 7 |
|
8 | 8 | OST is a complete technology solution enabling mainstream businesses |
9 | 9 | to easily launch blockchain-based economies without |
10 | 10 | requiring blockchain development. |
11 | 11 |
|
12 | | -At the core of OST is the concept of OST-powered Brand Tokens (BTs). |
13 | | -BTs are white-label cryptocurrency tokens with utility representations |
| 12 | +Brand Tokens (BTs) are white-label cryptocurrency tokens with utility representations |
14 | 13 | running on highly-scalable Ethereum-based side blockchains, |
15 | | -backed by OST tokens staked on Ethereum mainnet. Within a business’s |
| 14 | +backed by value token (such as OST, USDC) staked on Ethereum mainnet. Within a business’s |
16 | 15 | token economy, BTs can only be transferred to whitelisted user addresses. |
17 | 16 | This ensures that they stay within the token economy. |
18 | 17 |
|
19 | 18 | The OST technology stack is designed to give businesses everything they need |
20 | 19 | to integrate, test, and deploy BTs. Within the OST suite of products, developers |
21 | | -can use OST Platform to create, test, and launch Brand Tokens backed by OST. |
| 20 | +can use OST Platform to create, test, and launch Brand Tokens backed by value token (such as OST, USDC). |
22 | 21 |
|
23 | 22 | OST APIs and server-side SDKs make it simple and easy for developers to |
24 | 23 | integrate blockchain tokens into their apps. |
@@ -250,7 +249,7 @@ response = rules_service.get_list(get_params) |
250 | 249 |
|
251 | 250 | #### Price Points Module |
252 | 251 |
|
253 | | -To know the OST price point in USD and when it was last updated, |
| 252 | +To know the value tokens (such as OST, USDC) price point in pay currency and when it was last updated, |
254 | 253 | use services provided by the Price Points module. |
255 | 254 |
|
256 | 255 | ```ruby |
@@ -426,3 +425,20 @@ get_params[:chain_id] = 2000 |
426 | 425 | response = chains_service.get(get_params) |
427 | 426 | ``` |
428 | 427 |
|
| 428 | + |
| 429 | +### Base Tokens Module |
| 430 | + |
| 431 | +To get information about the value tokens (such as OST, USDC) available on the OST Platform interface, use services |
| 432 | +provided by the Base Tokens module. You can use this service to obtain the value token details |
| 433 | +on OST Platform interface. |
| 434 | + |
| 435 | +```ruby |
| 436 | +base_tokens_service = ost_sdk.services.base_tokens |
| 437 | +``` |
| 438 | + |
| 439 | +Get Base Token Detail: |
| 440 | + |
| 441 | +```ruby |
| 442 | +get_params = {} |
| 443 | +response = base_tokens_service.get(get_params) |
| 444 | +``` |
0 commit comments