File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ func exampleSearchAddr() error {
199199 f := fabric .New ()
200200
201201 // <doc:search-addr>
202- batch , err := f .SearchAddr ("btc " , "bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4 " )
202+ batch , err := f .SearchAddr ("nostr " , "npub180cvv07tjdrrgpa0j7j7tmnyl2yr6yr7l8j4s3evf6u64th6gkwsyjh6w6 " )
203203 if err != nil {
204204 return err
205205 }
Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ async function exampleSearchAddr() {
141141 const fabric = new Fabric ( ) ;
142142
143143 // <doc:search-addr>
144- const batch = await fabric . searchAddr ( "btc " , "bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4 " ) ;
144+ const batch = await fabric . searchAddr ( "nostr " , "npub180cvv07tjdrrgpa0j7j7tmnyl2yr6yr7l8j4s3evf6u64th6gkwsyjh6w6 " ) ;
145145
146146 for ( const zone of batch . zones ) {
147147 console . log ( `${ zone . handle } ` ) ;
Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ suspend fun exampleSearchAddr() {
145145 val fabric = Fabric ()
146146
147147 // <doc:search-addr>
148- val batch = fabric.searchAddr(" btc " , " bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4 " )
148+ val batch = fabric.searchAddr(" nostr " , " npub180cvv07tjdrrgpa0j7j7tmnyl2yr6yr7l8j4s3evf6u64th6gkwsyjh6w6 " )
149149
150150 for (zone in batch.zones) {
151151 println (" ${zone.handle} : ${zone.sovereignty} " )
Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ async def example_search_addr():
136136 fabric = Fabric ()
137137
138138 # <doc:search-addr>
139- batch = await fabric .search_addr ("btc " , "bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4 " )
139+ batch = await fabric .search_addr ("nostr " , "npub180cvv07tjdrrgpa0j7j7tmnyl2yr6yr7l8j4s3evf6u64th6gkwsyjh6w6 " )
140140
141141 for zone in batch .zones :
142142 print (f"{ zone .handle } : { zone .sovereignty } " )
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ async fn example_search_addr() -> anyhow::Result<()> {
162162
163163 // <doc:search-addr>
164164 let batch = fabric
165- . search_addr ( "btc " , "bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4 " )
165+ . search_addr ( "nostr " , "npub180cvv07tjdrrgpa0j7j7tmnyl2yr6yr7l8j4s3evf6u64th6gkwsyjh6w6 " )
166166 . await ?;
167167
168168 for zone in & batch. zones {
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ func exampleSearchAddr() async throws {
140140 let fabric = Fabric ( )
141141
142142 // <doc:search-addr>
143- let batch = try await fabric. searchAddr ( " btc " , " bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4 " )
143+ let batch = try await fabric. searchAddr ( " nostr " , " npub180cvv07tjdrrgpa0j7j7tmnyl2yr6yr7l8j4s3evf6u64th6gkwsyjh6w6 " )
144144
145145 for zone in batch. zones {
146146 print ( " \( zone. handle) : \( zone. sovereignty) " )
You can’t perform that action at this time.
0 commit comments