Skip to content

Commit e016df2

Browse files
Tejas-Sanganisunilkhedar
authored andcommitted
added .env.example file in ost sdk java. (#15)
1 parent 6762ee8 commit e016df2

3 files changed

Lines changed: 16 additions & 1 deletion

File tree

.env.example

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
OST_KIT_API_ENDPOINT=https://api.ost.com/testnet/v2
2+
OST_KIT_API_KEY=YourApiKey
3+
OST_KIT_API_SECRET=YourSecretKey
4+
OST_KIT_AUX_CHAIN_ID=AuxChainIdOnWhichTokenIsDeployed
5+
OST_KIT_COMPANY_USER_ID=IdOfCompanyUser
6+
OST_KIT_USER_ID=YourUserId
7+
OST_KIT_USER_DEVICE_ADDRESS=DeviceAddressOfUser
8+
OST_KIT_RECOVERY_OWNER_ADDRESS=RecoveryOwnerAddressOfUser
9+
OST_KIT_SESSION_ADDRESS=SessionAddressOfUser
10+
OST_KIT_RULE_ADDRESS=AddressForExecutingRule
11+
OST_KIT_USER2_TOKEN_HOLDER_ADDRESS=TokenHolderAddressForReceiver
12+
OST_KIT_TRANSACTION_ID=TransactionIdUsedToTestGet

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,7 @@ fabric.properties
7676
.DS_Store
7777
target
7878

79+
# Environment
80+
.env
81+
7982
release.properties

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ String amount = "1";
407407
params.put("user_id", userId);
408408
params.put("to", toAddress);
409409
nestedparams.put("method", "pay");
410-
ArrayList<ArrayList> nestedarraylist = new ArrayList<ArrayList>();
410+
ArrayList<Object> nestedarraylist = new ArrayList<Object>();
411411
ArrayList<Object> arrayListForUser2TokenHolderAddress = new ArrayList<Object>();
412412
arrayListForUser2TokenHolderAddress.add(user2TokenHolderAddress);
413413
ArrayList<Object> arrayListAmount = new ArrayList<Object>();

0 commit comments

Comments
 (0)