1import process from 'process';23const config = {4 substrateUrl: process.env.substrateUrl || 'ws://127.0.0.1:9944',5 customTypes: process.env.customTypes || `{6 "Schedule": {7 "version": "u32",8 "put_code_per_byte_cost": "Gas",9 "grow_mem_cost": "Gas",10 "regular_op_cost": "Gas",11 "return_data_per_byte_cost": "Gas",12 "event_data_per_byte_cost": "Gas",13 "event_per_topic_cost": "Gas",14 "event_base_cost": "Gas",15 "call_base_cost": "Gas",16 "instantiate_base_cost": "Gas",17 "dispatch_base_cost": "Gas",18 "sandbox_data_read_cost": "Gas",19 "sandbox_data_write_cost": "Gas",20 "transfer_cost": "Gas",21 "instantiate_cost": "Gas",22 "max_event_topics": "u32",23 "max_stack_height": "u32",24 "max_memory_pages": "u32",25 "max_table_size": "u32",26 "enable_println": "bool",27 "max_subject_len": "u32"28 },29 "CollectionMode": {30 "_enum": {31 "Invalid": null,32 "NFT": "u32",33 "Fungible": "u32",34 "ReFungible": "(u32, u32)"35 }36 },37 "Ownership": {38 "Owner": "AccountId",39 "Fraction": "u128"40 },41 "FungibleItemType": {42 "Collection": "u64",43 "Owner": "AccountId",44 "Value": "u128"45 },46 "ReFungibleItemType": {47 "Collection": "u64",48 "Owner": "Vec<Ownership>",49 "Data": "Vec<u8>"50 },51 "NftItemType": {52 "Collection": "u64",53 "Owner": "AccountId",54 "Data": "Vec<u8>"55 },56 "Ownership": {57 "owner": "AccountId",58 "fraction": "u128"59 },60 "ReFungibleItemType": {61 "Collection": "u64",62 "Owner": "Vec<Ownership<AccountId>>",63 "Data": "Vec<u8>"64 },65 "CollectionType": {66 "Owner": "AccountId",67 "Mode": "CollectionMode",68 "Access": "u8",69 "DecimalPoints": "u32",70 "Name": "Vec<u16>",71 "Description": "Vec<u16>",72 "TokenPrefix": "Vec<u8>",73 "CustomDataSize": "u32",74 "MintMode": "bool",75 "OffchainSchema": "Vec<u8>",76 "Sponsor": "AccountId",77 "UnconfirmedSponsor": "AccountId"78 },79 "ApprovePermissions": {80 "Approved": "AccountId",81 "Amount": "u64"82 },83 "RawData": "Vec<u8>",84 "Address": "AccountId",85 "LookupSource": "AccountId",86 "Weight": "u64"87 }`88}8990export default config;