Add deployment addresses and instructions to fetch addresses from different chains
This commit is contained in:
		
							parent
							
								
									d57fbde4c0
								
							
						
					
					
						commit
						5c5327eedd
					
				
							
								
								
									
										11
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								README.md
									
									
									
									
									
								
							| @ -16,6 +16,17 @@ To import artifacts on the project use the following: | ||||
| import P2PIXArtifact from 'p2pix-smart-contracts/artifacts/contracts/p2pix.sol/P2PIX.json' | ||||
| ``` | ||||
| 
 | ||||
| To grab deployment addresses you can just grab from deploys folder: | ||||
| ``` | ||||
| import localhostDeploys from 'p2pix-smart-contracts/deploys/localhost.json' | ||||
| ``` | ||||
| 
 | ||||
| The default deploy addresses for localhost is the following: | ||||
| | Contract | Address |  | ||||
| |-|-| | ||||
| |p2pix|`0x5FbDB2315678afecb367f032d93F642f64180aa3`| | ||||
| |token|`0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512`| | ||||
| 
 | ||||
| Then use a Contract instance to interact directly with it: | ||||
| 
 | ||||
| ``` | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user