File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3131- ** api** the rest api endpoint.(make sure that CORS is enabled: ` Allow-Control-Allow-Origin: * ` )
3232- ** rpc** the rpc endpoint, make sure that the port is added. rpc endpoint is only used for state sync. it's optional.
3333- ** assets** Native Assets on blockchain.
34+
35+ # Additional Signing Configuration
36+ ``` json
37+ {
38+ "chain_name" : " cosmos" ,
39+ ...
40+ "sign_opts" : {
41+ "keplr" : {
42+ "preferNoSetFee" : true ,
43+ "preferNoSetMemo" : true
44+ }
45+ },
46+ ...
47+ }
48+ ```
49+ - ** sign_opts** (optional) configuration for sign requests, only Keplr is supported at the moment.
50+ - ** sign_opts.keplr** (optional) KeplrSignOptions - See Keplr [ documentation] ( https://docs.keplr.app/api/#interaction-options ) .
51+
3452# Test
3553
3654please add these check points in comments with your PR, and adding your test result by clicking the checkbox of each line
Original file line number Diff line number Diff line change 1+ {
2+ "chain_name" : " carbon" ,
3+ "coingecko" : " switcheo" ,
4+ "api" : " https://test-api.carbon.network" ,
5+ "rpc" : [" https://test-tm-api.carbon.network" ],
6+ "snapshot_provider" : " " ,
7+ "sdk_version" : " 0.45.2" ,
8+ "coin_type" : " 118" ,
9+ "min_tx_fee" : " 100000000" ,
10+ "addr_prefix" : " swth" ,
11+ "logo" : " /logos/carbon.svg" ,
12+ "sign_opts" : {
13+ "keplr" : {
14+ "preferNoSetFee" : true
15+ }
16+ },
17+ "assets" : [{
18+ "base" : " swth" ,
19+ "symbol" : " SWTH" ,
20+ "exponent" : " 8" ,
21+ "coingecko_id" : " switcheo" ,
22+ "logo" : " /logos/carbon.svg"
23+ }]
24+ }
You can’t perform that action at this time.
0 commit comments